summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar jan Iversen <jan@casacondor.com>2019-12-28 18:37:46 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-12-29 12:20:19 -0800
commit6084a27229d8258a474a87e43342b8a2ac74a499 (patch)
treeef2292697e215293108ea18cf96bce188fe2ec87
parent0c840ba22a045a988b00a660c7682bc2c4415da0 (diff)
downloadsubsurface-6084a27229d8258a474a87e43342b8a2ac74a499.tar.gz
mobile-widgets: remove first setCredentialStatus() in finishSetup()
This setCredentialStatus() will never do anything, because qPrefCloudStorage is identical to prefs.cloud_verification_status, and can thus be safely removed. Signed-off-by: Jan Iversen <jan@casacondor.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--mobile-widgets/qmlmanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/mobile-widgets/qmlmanager.cpp b/mobile-widgets/qmlmanager.cpp
index a1490644f..46503b9dd 100644
--- a/mobile-widgets/qmlmanager.cpp
+++ b/mobile-widgets/qmlmanager.cpp
@@ -444,7 +444,7 @@ void QMLManager::finishSetup()
{
// Initialize cloud credentials.
git_local_only = !prefs.cloud_auto_sync;
- QMLPrefs::instance()->setCredentialStatus((qPrefCloudStorage::cloud_status) prefs.cloud_verification_status);
+
// if the cloud credentials are valid, we should get the GPS Webservice ID as well
QString url;
if (!qPrefCloudStorage::cloud_storage_email().isEmpty() &&