From c564e06d4ef32f6bd7104ecf398e631f4c95a5ff Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Tue, 15 Nov 2016 20:37:35 +0900 Subject: Manual revert of commit 9295b3aa3742ea3af4427de831af58ed2a268c9b Signed-off-by: Dirk Hohndel --- desktop-widgets/mainwindow.cpp | 5 ----- desktop-widgets/mainwindow.ui | 7 ------- 2 files changed, 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 @@ - - @@ -741,11 +739,6 @@ Facebook - - - Add GPS location here - - Take cloud storage online -- cgit v1.2.3-70-g09d2