summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/mainwindow.cpp
diff options
context:
space:
mode:
authorGravatar Lubomir I. Ivanov <neolit123@gmail.com>2017-07-15 01:38:46 +0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-07-28 07:31:11 -0700
commitb054c211a1f6641c9b3b2e95c82d1a16024388dd (patch)
tree863b2483e00d78c96908287f3f394e6b0ac93394 /desktop-widgets/mainwindow.cpp
parent1a5122e8f8275bc8843d7c5932c2b9e0a99f64ad (diff)
downloadsubsurface-b054c211a1f6641c9b3b2e95c82d1a16024388dd.tar.gz
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>
Diffstat (limited to 'desktop-widgets/mainwindow.cpp')
-rw-r--r--desktop-widgets/mainwindow.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/desktop-widgets/mainwindow.cpp b/desktop-widgets/mainwindow.cpp
index 94a40ae52..6563ce64b 100644
--- a/desktop-widgets/mainwindow.cpp
+++ b/desktop-widgets/mainwindow.cpp
@@ -221,9 +221,6 @@ MainWindow::MainWindow() : QMainWindow(),
diveListView->scrollTo(dive_list()->model()->index(0, 0), QAbstractItemView::PositionAtCenter);
divePlannerWidget()->settingsChanged();
divePlannerSettingsWidget()->settingsChanged();
-#ifdef NO_MARBLE
- ui.menuView->removeAction(ui.actionViewGlobe);
-#endif
#ifdef NO_USERMANUAL
ui.menuHelp->removeAction(ui.actionUserManual);
#endif