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 <[email protected]>
---
 qt-ui/mainwindow.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp
index e86f223..216f182 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();
-- 
1.9.1

_______________________________________________
subsurface mailing list
[email protected]
http://lists.hohndel.org/cgi-bin/mailman/listinfo/subsurface

Reply via email to