summaryrefslogtreecommitdiffstats
path: root/desktop-widgets
diff options
context:
space:
mode:
Diffstat (limited to 'desktop-widgets')
-rw-r--r--desktop-widgets/mainwindow.cpp4
-rw-r--r--desktop-widgets/mainwindow.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/desktop-widgets/mainwindow.cpp b/desktop-widgets/mainwindow.cpp
index 0b245be50..68b619afa 100644
--- a/desktop-widgets/mainwindow.cpp
+++ b/desktop-widgets/mainwindow.cpp
@@ -1097,7 +1097,7 @@ void MainWindow::on_actionViewInfo_triggered()
void MainWindow::on_actionViewMap_triggered()
{
TOGGLE_COLLAPSABLE( true );
- beginChangeState(GLOBE_MAXIMIZED);
+ beginChangeState(MAP_MAXIMIZED);
ui.mainSplitter->setSizes(BEHAVIOR << COLLAPSED << EXPANDED);
ui.bottomSplitter->setSizes(BEHAVIOR << COLLAPSED << EXPANDED);
}
@@ -1318,7 +1318,7 @@ void MainWindow::initialUiSetup()
case VIEWALL:
on_actionViewAll_triggered();
break;
- case GLOBE_MAXIMIZED:
+ case MAP_MAXIMIZED:
on_actionViewMap_triggered();
break;
case INFO_MAXIMIZED:
diff --git a/desktop-widgets/mainwindow.h b/desktop-widgets/mainwindow.h
index 6336d0c64..161a5b606 100644
--- a/desktop-widgets/mainwindow.h
+++ b/desktop-widgets/mainwindow.h
@@ -53,7 +53,7 @@ public:
enum CurrentState {
VIEWALL,
- GLOBE_MAXIMIZED,
+ MAP_MAXIMIZED,
INFO_MAXIMIZED,
PROFILE_MAXIMIZED,
LIST_MAXIMIZED