aboutsummaryrefslogtreecommitdiffstats
path: root/Subsurface-mobile.pro
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2020-12-14 22:42:07 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-12-17 13:03:56 -0800
commitbf8261c0014253634eaddf7c0a9cf79d3a8b4123 (patch)
treee74ca215dbf25cf311e958875863da8037e0eee3 /Subsurface-mobile.pro
parentdc37ba7758a34fb9d5dd840d41902621030fec32 (diff)
downloadsubsurface-bf8261c0014253634eaddf7c0a9cf79d3a8b4123.tar.gz
core: create string-format.cpp source file
The mobile version of the list used string formatting functions defined in DiveObjectHelper and declared in mobilelistmodels.h. Very confusing. Move them to a separate source file where - in the long run - all the string-formatting functions, which are scattered all over the place, can be collected. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'Subsurface-mobile.pro')
-rw-r--r--Subsurface-mobile.pro2
1 files changed, 2 insertions, 0 deletions
diff --git a/Subsurface-mobile.pro b/Subsurface-mobile.pro
index 2da1e5703..5641f422d 100644
--- a/Subsurface-mobile.pro
+++ b/Subsurface-mobile.pro
@@ -89,6 +89,7 @@ SOURCES += subsurface-mobile-main.cpp \
core/membuffer.c \
core/selection.cpp \
core/sha1.c \
+ core/string-format.cpp \
core/strtod.c \
core/tag.c \
core/taxonomy.c \
@@ -222,6 +223,7 @@ HEADERS += \
core/selection.h \
core/sha1.h \
core/strndup.h \
+ core/string-format.h \
core/subsurfacestartup.h \
core/subsurfacesysinfo.h \
core/taxonomy.h \