diff options
Diffstat (limited to 'core/settings/qPrefCloudStorage.cpp')
-rw-r--r-- | core/settings/qPrefCloudStorage.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/settings/qPrefCloudStorage.cpp b/core/settings/qPrefCloudStorage.cpp index ef7605d97..8bbd91aec 100644 --- a/core/settings/qPrefCloudStorage.cpp +++ b/core/settings/qPrefCloudStorage.cpp @@ -16,6 +16,7 @@ qPrefCloudStorage *qPrefCloudStorage::instance() void qPrefCloudStorage::loadSync(bool doSync) { + disk_cloud_auto_sync(doSync); disk_cloud_base_url(doSync); disk_cloud_storage_email(doSync); disk_cloud_storage_email_encoded(doSync); @@ -26,6 +27,8 @@ void qPrefCloudStorage::loadSync(bool doSync) disk_save_password_local(doSync); } +HANDLE_PREFERENCE_BOOL(CloudStorage, "cloud_auto_sync", cloud_auto_sync); + void qPrefCloudStorage::set_cloud_base_url(const QString &value) { if (value != prefs.cloud_base_url) { |