summaryrefslogtreecommitdiffstats
path: root/core/subsurfacestartup.c
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2016-04-30 10:36:01 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-04-30 11:07:14 -0700
commitd943050a93ba59d500fa3196d00529e7b2e6b925 (patch)
tree67f8f8dafd01c0b9951fb999dba6fc0fc2406c05 /core/subsurfacestartup.c
parent9bec79a71b54d39f8934254c5f6cd5abc11cd32f (diff)
downloadsubsurface-d943050a93ba59d500fa3196d00529e7b2e6b925.tar.gz
QML UI: make offline the default
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core/subsurfacestartup.c')
-rw-r--r--core/subsurfacestartup.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/subsurfacestartup.c b/core/subsurfacestartup.c
index bb257960a..c2881a17f 100644
--- a/core/subsurfacestartup.c
+++ b/core/subsurfacestartup.c
@@ -10,6 +10,9 @@
struct preferences prefs, informational_prefs;
struct preferences default_prefs = {
.cloud_base_url = "https://cloud.subsurface-divelog.org/",
+#if defined(SUBSURFACE_MOBILE)
+ .git_local_only = true,
+#endif
.units = SI_UNITS,
.unit_system = METRIC,
.coordinates_traditional = true,