aboutsummaryrefslogtreecommitdiffstats
path: root/qt-mobile/qmlmanager.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2016-02-08 11:14:11 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-02-08 11:14:11 -0800
commit10ca6674030bb19502a4c55133ae45dc873cb10c (patch)
treedeb01c23f811d05913919c38774305cca8b27b30 /qt-mobile/qmlmanager.cpp
parent801ce01585a2314e95c1aeee2385b04b9a0ceda5 (diff)
downloadsubsurface-10ca6674030bb19502a4c55133ae45dc873cb10c.tar.gz
Sync load from cloud status when changing cloud storage accounts
Since this variable is specific to the cloud credentials in use, we need to reset it when we change credentials. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-mobile/qmlmanager.cpp')
-rw-r--r--qt-mobile/qmlmanager.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-mobile/qmlmanager.cpp b/qt-mobile/qmlmanager.cpp
index c41c2411b..d720be61e 100644
--- a/qt-mobile/qmlmanager.cpp
+++ b/qt-mobile/qmlmanager.cpp
@@ -153,6 +153,7 @@ void QMLManager::saveCloudCredentials()
if (cloudCredentialsChanged) {
free(prefs.userid);
prefs.userid = NULL;
+ syncLoadFromCloud();
tryRetrieveDataFromBackend();
}
}