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>
This commit is contained in:
Anton Lundin 2014-04-05 22:50:03 +02:00 committed by Dirk Hohndel
parent 5b3cab94a1
commit 63943371bd

View file

@ -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();