From 63943371bd39348fde3a7fe15c8f655f95684f42 Mon Sep 17 00:00:00 2001 From: Anton Lundin Date: Sat, 5 Apr 2014 22:50:03 +0200 Subject: Rely on ENABLE_PLANNER to enable the planner The removal of the planner menu entry was erroneously commented out. Other parts of the code rely on ENABLE_PLANNER to know if the planner is enabled or not so rely on it here to. Signed-off-by: Anton Lundin Signed-off-by: Dirk Hohndel --- qt-ui/mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qt-ui') diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp index e86f22392..216f18275 100644 --- a/qt-ui/mainwindow.cpp +++ b/qt-ui/mainwindow.cpp @@ -88,7 +88,7 @@ MainWindow::MainWindow() : QMainWindow(), #ifndef ENABLE_PLANNER -// ui.menuLog->removeAction(ui.actionDivePlanner); + ui.menuLog->removeAction(ui.actionDivePlanner); #endif #ifdef NO_MARBLE ui.layoutWidget->hide(); -- cgit v1.2.3-70-g09d2