summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'desktop-widgets/mainwindow.cpp')
-rw-r--r--desktop-widgets/mainwindow.cpp5
1 files changed, 0 insertions, 5 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();