diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2016-11-15 20:37:35 +0900 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-11-15 20:37:35 +0900 |
commit | c564e06d4ef32f6bd7104ecf398e631f4c95a5ff (patch) | |
tree | 2e68dfda27c4cf7af09980d53ae39ec954329730 /desktop-widgets/mainwindow.cpp | |
parent | 1f19abdd4f75fb0e42e318bfe36a6e0a233d16b2 (diff) | |
download | subsurface-c564e06d4ef32f6bd7104ecf398e631f4c95a5ff.tar.gz |
Manual revert of commit 9295b3aa3742ea3af4427de831af58ed2a268c9b
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'desktop-widgets/mainwindow.cpp')
-rw-r--r-- | desktop-widgets/mainwindow.cpp | 5 |
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(); |