summaryrefslogtreecommitdiffstats
path: root/subsurface-core
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2016-04-03 18:48:20 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-04-04 14:18:51 -0700
commitf7564c2b776f93cb1c2af2da26a44ef2eaaec837 (patch)
treefcc78ca769227ab0b93cce733eb83039db69c64f /subsurface-core
parentbb74144860b14d23f26ebd3dd72e4654342282ae (diff)
downloadsubsurface-f7564c2b776f93cb1c2af2da26a44ef2eaaec837.tar.gz
QML UI: keep cloud sync enabled state in settings
So if the app gets closed and restarted, it will continue to not sync (or sync) over the network. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurface-core')
-rw-r--r--subsurface-core/qthelper.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/subsurface-core/qthelper.cpp b/subsurface-core/qthelper.cpp
index e103b44e5..c45e86388 100644
--- a/subsurface-core/qthelper.cpp
+++ b/subsurface-core/qthelper.cpp
@@ -1491,6 +1491,7 @@ void loadPreferences()
}
GET_INT("cloud_verification_status", cloud_verification_status);
GET_BOOL("cloud_background_sync", cloud_background_sync);
+ GET_BOOL("git_local_only", git_local_only);
// creating the git url here is simply a convenience when C code wants
// to compare against that git URL - it's always derived from the base URL