summaryrefslogtreecommitdiffstats
path: root/subsurfacestartup.c
diff options
context:
space:
mode:
authorGravatar Gehad Elrobey <gehadelrobey@gmail.com>2014-04-16 22:03:44 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-04-16 13:09:55 -0700
commit8380f096199d4da1e89789c9bd67974e550f2bf3 (patch)
tree3bfc0618202730a976a2b6df99f3cb4fd348be74 /subsurfacestartup.c
parent4bd4c0110815a9c5a9c9c05fbd6bd987573b2904 (diff)
downloadsubsurface-8380f096199d4da1e89789c9bd67974e550f2bf3.tar.gz
Renaming the prefs struct members to be consistent with the QSettings.
-Renaming prefs members for consistency. -Changing references of QSettings to the prefs structure instead. -Removing unused functions in pref.h were left over from an old version. -Changing the data-type of bool members to short for consistency with other members. 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.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/subsurfacestartup.c b/subsurfacestartup.c
index 4e7550ce3..471fea64e 100644
--- a/subsurfacestartup.c
+++ b/subsurfacestartup.c
@@ -16,14 +16,14 @@ struct preferences default_prefs = {
.phe_threshold = 13.0,
},
.mod = false,
- .mod_ppO2 = 1.6,
+ .modppO2 = 1.6,
.ead = false,
- .heart_rate = true,
- .profile_dc_ceiling = true,
- .profile_red_ceiling = false,
- .profile_calc_ceiling = false,
- .calc_ceiling_3m_incr = false,
- .calc_ndl_tts = false,
+ .hrgraph = true,
+ .dcceiling = true,
+ .redceiling = false,
+ .calcceiling = false,
+ .calcceiling3m = false,
+ .calcndltts = false,
.gflow = 30,
.gfhigh = 75,
.animation = 500,