diff options
author | Lubomir I. Ivanov <neolit123@gmail.com> | 2017-07-15 01:51:23 +0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-07-28 07:31:11 -0700 |
commit | 86f4a26a8344b0d7585b58f24357e8f21748b34c (patch) | |
tree | 384ee7ad24e8d4ff8483f2508d3f532e5100dbf6 /desktop-widgets | |
parent | 4a10c94840b8b8db9f4781de5aa1ba4a651bac33 (diff) | |
download | subsurface-86f4a26a8344b0d7585b58f24357e8f21748b34c.tar.gz |
mainwindow: rename GLOBE_MAXIMIZED to MAP_MAXIMIZED
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Diffstat (limited to 'desktop-widgets')
-rw-r--r-- | desktop-widgets/mainwindow.cpp | 4 | ||||
-rw-r--r-- | desktop-widgets/mainwindow.h | 2 |
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 |