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>
This commit is contained in:
@@ -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
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user