mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
prefs: git_local_only is not a preference
It's the current state of the app, so it should be a global variable, not a preference. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
6e4a253896
commit
ae653703a5
11 changed files with 44 additions and 62 deletions
|
@ -23,7 +23,6 @@ void qPrefCloudStorage::loadSync(bool doSync)
|
|||
disk_cloud_storage_pin(doSync);
|
||||
disk_cloud_timeout(doSync);
|
||||
disk_cloud_verification_status(doSync);
|
||||
disk_git_local_only(doSync);
|
||||
disk_save_password_local(doSync);
|
||||
disk_save_userid_local(doSync);
|
||||
disk_userid(doSync);
|
||||
|
@ -92,8 +91,6 @@ HANDLE_PREFERENCE_INT(CloudStorage, "timeout", cloud_timeout);
|
|||
|
||||
HANDLE_PREFERENCE_INT(CloudStorage, "cloud_verification_status", cloud_verification_status);
|
||||
|
||||
HANDLE_PREFERENCE_BOOL(CloudStorage, "git_local_only", git_local_only);
|
||||
|
||||
HANDLE_PREFERENCE_BOOL(CloudStorage, "save_password_local", save_password_local);
|
||||
|
||||
HANDLE_PREFERENCE_BOOL(CloudStorage, "save_userid_local", save_userid_local);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue