summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/mainwindow.cpp
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 /desktop-widgets/mainwindow.cpp
parent1f19abdd4f75fb0e42e318bfe36a6e0a233d16b2 (diff)
downloadsubsurface-c564e06d4ef32f6bd7104ecf398e631f4c95a5ff.tar.gz
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
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();