summaryrefslogtreecommitdiffstats
path: root/Subsurface-mobile.pro
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2021-01-02 14:03:25 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2021-01-02 10:26:29 -0800
commitfdde4c23ea570d3fdc25dd3a66019e4500c5982c (patch)
tree34c929c2aaa7d3b8cbd634d29c2ba152d3fd872e /Subsurface-mobile.pro
parent91ffa5a59a32b7c2a6e61b0d00e9074d8a418331 (diff)
downloadsubsurface-fdde4c23ea570d3fdc25dd3a66019e4500c5982c.tar.gz
cleanup: move pref related structs and functions to pref.c
These were declared in pref.h and defined in subsurfacestartup.c. pref.c didn't even exist. Create it and move preferences-related structs and functions there. setup_system_prefs() is left in subsurfacestartup.c, since it works with environment variables. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'Subsurface-mobile.pro')
-rw-r--r--Subsurface-mobile.pro1
1 files changed, 1 insertions, 0 deletions
diff --git a/Subsurface-mobile.pro b/Subsurface-mobile.pro
index 190270bec..d9ea5bc99 100644
--- a/Subsurface-mobile.pro
+++ b/Subsurface-mobile.pro
@@ -46,6 +46,7 @@ SOURCES += subsurface-mobile-main.cpp \
core/file.c \
core/fulltext.cpp \
core/subsurfacestartup.c \
+ core/pref.c \
core/profile.c \
core/device.cpp \
core/dive.c \