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>
This commit is contained in:
jan Iversen 2019-12-28 18:37:46 +01:00 committed by Dirk Hohndel
parent 0c840ba22a
commit 6084a27229

View file

@ -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() &&