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>
This commit is contained in:
jan Iversen 2019-12-29 12:33:30 +01:00 committed by Dirk Hohndel
parent 3d6d71aa9f
commit e268af0d9f
2 changed files with 6 additions and 7 deletions

View file

@ -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()