[vlmc-devel] Fix build with crash handler activated

Hugo Beauzée-Luyssen git at videolan.org
Mon Mar 7 09:04:34 CET 2016


vlmc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Mon Mar  7 08:59:06 2016 +0100| [e6675546f8da357fc875fac80c7dfdce58116a86] | committer: Hugo Beauzée-Luyssen

Fix build with crash handler activated

> https://code.videolan.org/videolan/vlmc/commit/e6675546f8da357fc875fac80c7dfdce58116a86
---

 src/Main/vlmc.cpp | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/Main/vlmc.cpp b/src/Main/vlmc.cpp
index 8f101a1..4d25bf2 100644
--- a/src/Main/vlmc.cpp
+++ b/src/Main/vlmc.cpp
@@ -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 );



More information about the Vlmc-devel mailing list