diff options
-rw-r--r-- | desktop-widgets/mainwindow.cpp | 5 | ||||
-rw-r--r-- | desktop-widgets/mainwindow.ui | 7 |
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> |