aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2016-11-15 20:37:35 +0900
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-11-15 20:37:35 +0900
commitc564e06d4ef32f6bd7104ecf398e631f4c95a5ff (patch)
tree2e68dfda27c4cf7af09980d53ae39ec954329730
parent1f19abdd4f75fb0e42e318bfe36a6e0a233d16b2 (diff)
downloadsubsurface-c564e06d4ef32f6bd7104ecf398e631f4c95a5ff.tar.gz
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--desktop-widgets/mainwindow.cpp5
-rw-r--r--desktop-widgets/mainwindow.ui7
2 files changed, 0 insertions, 12 deletions
diff --git a/desktop-widgets/mainwindow.cpp b/desktop-widgets/mainwindow.cpp
index e1ef641dc..2143663e8 100644
--- a/desktop-widgets/mainwindow.cpp
+++ b/desktop-widgets/mainwindow.cpp
@@ -205,11 +205,6 @@ MainWindow::MainWindow() : QMainWindow(),
#endif
enableDisableCloudActions();
- GpsLocation *locationProvider = new GpsLocation(&report_message, this);
- if (!locationProvider->hasLocationsSource()) {
- ui.menuFile->removeAction(ui.add_GPS_location_here);
- }
-
ui.mainErrorMessage->hide();
graphics()->setEmptyState();
initialUiSetup();
diff --git a/desktop-widgets/mainwindow.ui b/desktop-widgets/mainwindow.ui
index dcd1e2bd5..4cf4437fe 100644
--- a/desktop-widgets/mainwindow.ui
+++ b/desktop-widgets/mainwindow.ui
@@ -93,8 +93,6 @@
<addaction name="copy"/>
<addaction name="paste"/>
<addaction name="separator"/>
- <addaction name="add_GPS_location_here"/>
- <addaction name="separator"/>
<addaction name="actionRenumber"/>
<addaction name="actionAutoGroup"/>
<addaction name="separator"/>
@@ -741,11 +739,6 @@
<string>Facebook</string>
</property>
</action>
- <action name="add_GPS_location_here">
- <property name="text">
- <string>Add GPS location here</string>
- </property>
- </action>
<action name="actionTake_cloud_storage_online">
<property name="text">
<string>Take cloud storage online</string>