diff options
author | Jan Mulder <jlmulder@xs4all.nl> | 2017-08-01 10:12:42 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-09-04 07:38:30 -0700 |
commit | b9404b09059095b92147496f2fb4bc07c90faaaa (patch) | |
tree | 3ad96cbabaa7f026c2e188de2f56fdce4b2ed4e7 /mobile-widgets | |
parent | 50891c838e865ba0b0d31266d335f136e2103bd5 (diff) | |
download | subsurface-b9404b09059095b92147496f2fb4bc07c90faaaa.tar.gz |
mobile: go to the correct credential state
When we want to go the NOCLOUD credential state, do not go the
incorrect INCOMPLETE state.
This is the first in a series of unraveling the preference parameter
prefs.cloud_verification_status and the data that is carried around
in the QMLManager::credentialStatus_t.
Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
Diffstat (limited to 'mobile-widgets')
-rw-r--r-- | mobile-widgets/qmlmanager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mobile-widgets/qmlmanager.cpp b/mobile-widgets/qmlmanager.cpp index 260f92649..a38d98df0 100644 --- a/mobile-widgets/qmlmanager.cpp +++ b/mobile-widgets/qmlmanager.cpp @@ -573,7 +573,7 @@ void QMLManager::revertToNoCloudIfNeeded() prefs.cloud_storage_password = NULL; setCloudUserName(""); setCloudPassword(""); - setCredentialStatus(INCOMPLETE); + setCredentialStatus(NOCLOUD); set_filename(NOCLOUD_LOCALSTORAGE, true); setStartPageText(RED_FONT + tr("Failed to connect to cloud server, reverting to no cloud status") + END_FONT); } |