summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qml/CloudCredentials.qml
diff options
context:
space:
mode:
authorGravatar jan Iversen <jan@casacondor.com>2019-12-29 12:33:30 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-12-29 12:20:19 -0800
commite268af0d9f40553faf1f8fe6205e3b4106eed6e3 (patch)
tree7c3785c3e2630d655f33dd215ea2d2fcdac39d1a /mobile-widgets/qml/CloudCredentials.qml
parent3d6d71aa9f6318497ba5f26ea628b3596b4c3552 (diff)
downloadsubsurface-e268af0d9f40553faf1f8fe6205e3b4106eed6e3.tar.gz
mobile-widgets: use oldStatus in qmlmanager
Switch oldStatus from qmlprefs to qmlmanager This is the last use of QMLPrefs, which can later be safely removed. Signed-off-by: Jan Iversen <jan@casacondor.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets/qml/CloudCredentials.qml')
-rw-r--r--mobile-widgets/qml/CloudCredentials.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/mobile-widgets/qml/CloudCredentials.qml b/mobile-widgets/qml/CloudCredentials.qml
index 1b999f4a5..405531258 100644
--- a/mobile-widgets/qml/CloudCredentials.qml
+++ b/mobile-widgets/qml/CloudCredentials.qml
@@ -138,7 +138,7 @@ Item {
onClicked: {
manager.setGitLocalOnly(true)
PrefCloudStorage.cloud_auto_sync = false
- prefs.oldStatus = PrefCloudStorage.cloud_verification_status
+ manager.oldStatus = PrefCloudStorage.cloud_verification_status
PrefCloudStorage.cloud_verification_status = CloudStatus.CS_NOCLOUD
manager.saveCloudCredentials("", "", "")
manager.openNoCloudRepo()