From 6084a27229d8258a474a87e43342b8a2ac74a499 Mon Sep 17 00:00:00 2001 From: jan Iversen Date: Sat, 28 Dec 2019 18:37:46 +0100 Subject: 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 Signed-off-by: Dirk Hohndel --- mobile-widgets/qmlmanager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() && -- cgit v1.2.3-70-g09d2