mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-01 07:23:23 +00:00
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
1 changed files with 0 additions and 3 deletions
|
@ -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…
Add table
Reference in a new issue