summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mobile-widgets/qmlmanager.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/mobile-widgets/qmlmanager.cpp b/mobile-widgets/qmlmanager.cpp
index 6292f95fe..e30d7ca9a 100644
--- a/mobile-widgets/qmlmanager.cpp
+++ b/mobile-widgets/qmlmanager.cpp
@@ -1413,8 +1413,10 @@ QMLManager::cloud_status_qml QMLManager::credentialStatus() const
void QMLManager::setCredentialStatus(const cloud_status_qml value)
{
if (m_credentialStatus != value) {
- if (value == CS_NOCLOUD)
+ if (value == CS_NOCLOUD) {
appendTextToLog("Switching to no cloud mode");
+ set_filename(NOCLOUD_LOCALSTORAGE, true);
+ }
m_credentialStatus = value;
emit credentialStatusChanged();
}