mainwindow: rename GLOBE_MAXIMIZED to MAP_MAXIMIZED

Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
This commit is contained in:
Lubomir I. Ivanov 2017-07-15 01:51:23 +03:00 committed by Dirk Hohndel
parent 4a10c94840
commit 86f4a26a83
2 changed files with 3 additions and 3 deletions

View file

@ -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:

View file

@ -53,7 +53,7 @@ public:
enum CurrentState {
VIEWALL,
GLOBE_MAXIMIZED,
MAP_MAXIMIZED,
INFO_MAXIMIZED,
PROFILE_MAXIMIZED,
LIST_MAXIMIZED