Commit 11b9a5c2 authored by Ludovic Fauvet's avatar Ludovic Fauvet

Fix define name.

parent fba03a74
......@@ -41,7 +41,7 @@ ENDIF(WIN32)
# VLMC requires libVLC
#SET (WITH_LIBVLC FALSE CACHE BOOL "Compile LibVLC in VLMC")
SET(WITH_CRASHHANDLER FALSE CACHE BOOL "Enable the crash handler")
SET(WITH_CRASHBUTTON FALSE CACHE BOOL "Enable the crash button")
FIND_PACKAGE(LIBVLC)
IF (NOT LIBVLC_FOUND)
......
......@@ -2,7 +2,7 @@
#define CONFIG_H
/* With crash handler */
#cmakedefine WITH_CRASHHANDLER
#cmakedefine WITH_CRASHBUTTON
/* Absolute path to plugins */
#cmakedefine VLMC_EFFECTS_DIR "@VLMC_EFFECTS_DIR@"
......
......@@ -91,7 +91,7 @@ MainWindow::MainWindow( QWidget *parent ) :
createGlobalPreferences();
createProjectPreferences();
initializeMenuKeyboardShortcut();
#ifdef WITH_CRASHHANDLER
#ifdef WITH_CRASHBUTTON
setupCrashTester();
#endif
......@@ -596,7 +596,7 @@ void MainWindow::canRedoChanged( bool canRedo )
m_ui.actionRedo->setEnabled( canRedo );
}
#ifdef WITH_CRASHHANDLER
#ifdef WITH_CRASHBUTTON
void MainWindow::setupCrashTester()
{
QAction* actionCrash = new QAction( this );
......
......@@ -66,7 +66,7 @@ private:
void createGlobalPreferences();
void createProjectPreferences();
void initializeMenuKeyboardShortcut();
#ifdef WITH_CRASHHANDLER
#ifdef WITH_CRASHBUTTON
void setupCrashTester();
#endif
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment