From b9404b09059095b92147496f2fb4bc07c90faaaa Mon Sep 17 00:00:00 2001 From: Jan Mulder Date: Tue, 1 Aug 2017 10:12:42 +0200 Subject: [PATCH] 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 --- 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 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); }