mainwindow: don't remove the "view globe" action from the menu

We now have a map no matter NO_MARBLE.
TODO: rename the action itself.

Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
This commit is contained in:
Lubomir I. Ivanov 2017-07-15 01:38:46 +03:00 committed by Dirk Hohndel
parent 1a5122e8f8
commit b054c211a1

View file

@ -221,9 +221,6 @@ MainWindow::MainWindow() : QMainWindow(),
diveListView->scrollTo(dive_list()->model()->index(0, 0), QAbstractItemView::PositionAtCenter); diveListView->scrollTo(dive_list()->model()->index(0, 0), QAbstractItemView::PositionAtCenter);
divePlannerWidget()->settingsChanged(); divePlannerWidget()->settingsChanged();
divePlannerSettingsWidget()->settingsChanged(); divePlannerSettingsWidget()->settingsChanged();
#ifdef NO_MARBLE
ui.menuView->removeAction(ui.actionViewGlobe);
#endif
#ifdef NO_USERMANUAL #ifdef NO_USERMANUAL
ui.menuHelp->removeAction(ui.actionUserManual); ui.menuHelp->removeAction(ui.actionUserManual);
#endif #endif