Skip to content
Snippets Groups Projects
Commit e6675546 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen
Browse files

Fix build with crash handler activated

parent c441c8a7
No related branches found
No related tags found
No related merge requests found
......@@ -40,7 +40,6 @@ int VLMCmain( int , char** );
#if defined(WITH_CRASHHANDLER) && defined(Q_OS_UNIX)
#ifdef WITH_GUI
#include "Gui/project/GuiProjectManager.h"
#ifdef WITH_CRASHHANDLER_GUI
#include "Gui/widgets/CrashHandler.h"
#endif
......@@ -53,7 +52,7 @@ signalHandler( int sig )
{
signal( sig, SIG_DFL );
Core::getInstance()->currentProject()->emergencyBackup();
Core::getInstance()->project()->emergencyBackup();
#ifdef WITH_CRASHHANDLER_GUI
CrashHandler* ch = new CrashHandler( sig );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment