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:
parent
1a5122e8f8
commit
b054c211a1
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user