diff options
author | Anton Lundin <glance@acc.umu.se> | 2014-04-05 22:50:03 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-04-05 16:12:17 -0700 |
commit | 63943371bd39348fde3a7fe15c8f655f95684f42 (patch) | |
tree | e10e7230a6607bc539e115e4795041542e8beeda | |
parent | 5b3cab94a1b7a4baadf28f5c2bbcb1d3904833c6 (diff) | |
download | subsurface-63943371bd39348fde3a7fe15c8f655f95684f42.tar.gz |
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 <glance@acc.umu.se>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r-- | qt-ui/mainwindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |