mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 23:33:24 +00:00
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:
parent
0c840ba22a
commit
6084a27229
1 changed files with 1 additions and 1 deletions
|
@ -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() &&
|
||||
|
|
Loading…
Add table
Reference in a new issue