mainwindow: rename "actionViewGlobe" to "actionViewMap"

Also change the menu entry text itself to "Map" instead of "Globe".
"Map" covers both Marble and Qt Location in terms of "map" solutions.

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

View file

@ -1094,7 +1094,7 @@ void MainWindow::on_actionViewInfo_triggered()
ui.mainSplitter->setSizes(BEHAVIOR << EXPANDED << COLLAPSED);
}
void MainWindow::on_actionViewGlobe_triggered()
void MainWindow::on_actionViewMap_triggered()
{
TOGGLE_COLLAPSABLE( true );
beginChangeState(GLOBE_MAXIMIZED);
@ -1319,7 +1319,7 @@ void MainWindow::initialUiSetup()
on_actionViewAll_triggered();
break;
case GLOBE_MAXIMIZED:
on_actionViewGlobe_triggered();
on_actionViewMap_triggered();
break;
case INFO_MAXIMIZED:
on_actionViewInfo_triggered();

View file

@ -121,7 +121,7 @@ slots:
void on_actionViewList_triggered();
void on_actionViewProfile_triggered();
void on_actionViewInfo_triggered();
void on_actionViewGlobe_triggered();
void on_actionViewMap_triggered();
void on_actionViewAll_triggered();
void on_actionPreviousDC_triggered();
void on_actionNextDC_triggered();

View file

@ -107,7 +107,7 @@
<addaction name="actionViewList"/>
<addaction name="actionViewProfile"/>
<addaction name="actionViewInfo"/>
<addaction name="actionViewGlobe"/>
<addaction name="actionViewMap"/>
<addaction name="separator"/>
<addaction name="actionYearlyStatistics"/>
<addaction name="actionPreviousDC"/>
@ -375,9 +375,9 @@
<string notr="true">F1</string>
</property>
</action>
<action name="actionViewGlobe">
<action name="actionViewMap">
<property name="text">
<string>&amp;Globe</string>
<string>&amp;Map</string>
</property>
<property name="shortcut">
<string notr="true">Ctrl+5</string>