summaryrefslogtreecommitdiffstats
path: root/subsurfacestartup.c
diff options
context:
space:
mode:
authorGravatar Gehad elrobey <gehadelrobey@gmail.com>2014-04-08 13:45:23 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-04-11 07:21:15 -0700
commitcdf83f5ef6415eb44cc95e993ab38b4b44f03427 (patch)
tree262c135a0c141eb7f20cc14b6580219f26be9e86 /subsurfacestartup.c
parent6a8d929876f5a8d0279d2a83248a5d7b59e0ae39 (diff)
downloadsubsurface-cdf83f5ef6415eb44cc95e993ab38b4b44f03427.tar.gz
Change some references of QSettings to the pref struct.
After adding the animation member in the preference struct, it is very resonable to change these references of QSettings to the preference structure instead. Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurfacestartup.c')
-rw-r--r--subsurfacestartup.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/subsurfacestartup.c b/subsurfacestartup.c
index 3bd2dc0f1..4e7550ce3 100644
--- a/subsurfacestartup.c
+++ b/subsurfacestartup.c
@@ -26,6 +26,7 @@ struct preferences default_prefs = {
.calc_ndl_tts = false,
.gflow = 30,
.gfhigh = 75,
+ .animation = 500,
.gf_low_at_maxdepth = false,
.font_size = -1,
.display_invalid_dives = false,