aboutsummaryrefslogtreecommitdiffstats
path: root/qt-models
diff options
context:
space:
mode:
authorGravatar Jan Mulder <jlmulder@xs4all.nl>2018-01-09 19:32:41 +0100
committerGravatar Jan Mulder <jlmulder@xs4all.nl>2018-01-10 21:28:02 +0100
commit9c01315d31e71c857a7a5ef34db6da7343b030ac (patch)
treec6a28fa2559810205cfc588c3854e0e9f8576542 /qt-models
parent14e6c132c8c6a6f351af4af5d1dcc921eca1e4bb (diff)
downloadsubsurface-9c01315d31e71c857a7a5ef34db6da7343b030ac.tar.gz
Un-tie plannner model from profile on mobile
Do not pull in the DivePlannerPointsModel::instance as this is not used in the called function. We (currently) do not support deco computations on mobile, so trying to pull in any deco state from the planner is futile anyway. With this uncoupling, 6 more model files are not needed in mobile any more. Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
Diffstat (limited to 'qt-models')
-rw-r--r--qt-models/CMakeLists.txt16
1 files changed, 8 insertions, 8 deletions
diff --git a/qt-models/CMakeLists.txt b/qt-models/CMakeLists.txt
index 13c3034a8..4e3a5ca09 100644
--- a/qt-models/CMakeLists.txt
+++ b/qt-models/CMakeLists.txt
@@ -3,28 +3,28 @@
# models used both mobile and desktop builds
set(SUBSURFACE_GENERIC_MODELS_LIB_SRCS
- cleanertablemodel.cpp
- cylindermodel.cpp
- models.cpp
- tankinfomodel.cpp
divepicturemodel.cpp
- diveplannermodel.cpp
- treemodel.cpp
diveplotdatamodel.cpp
diveimportedmodel.cpp
)
# models exclusively used in desktop builds
set(SUBSURFACE_DESKTOP_MODELS_LIB_SRCS
+ cleanertablemodel.cpp
+ models.cpp
+ tankinfomodel.cpp
+ treemodel.cpp
maplocationmodel.cpp
+ cylindermodel.cpp
yearlystatisticsmodel.cpp
weigthsysteminfomodel.cpp
- weightmodel.cpp
+ weightmodel.cpp
filtermodels.cpp
divecomputermodel.cpp
divetripmodel.cpp
+ diveplannermodel.cpp
divecomputerextradatamodel.cpp
- completionmodels.cpp
+ completionmodels.cpp
divelocationmodel.cpp
ssrfsortfilterproxymodel.cpp
)