From 86f4a26a8344b0d7585b58f24357e8f21748b34c Mon Sep 17 00:00:00 2001 From: "Lubomir I. Ivanov" Date: Sat, 15 Jul 2017 01:51:23 +0300 Subject: mainwindow: rename GLOBE_MAXIMIZED to MAP_MAXIMIZED Signed-off-by: Lubomir I. Ivanov --- desktop-widgets/mainwindow.cpp | 4 ++-- 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 -- cgit v1.2.3-70-g09d2