diff options
author | jan Iversen <jan@casacondor.com> | 2020-01-21 12:24:40 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-01-25 17:13:20 -0800 |
commit | e55c740d84cd11813e6d7e5bf7aa0a2f5f9a6784 (patch) | |
tree | 68e15aafdb111f679054e9a0f87a8967c8c27e6e /mobile-widgets/qmlinterface.cpp | |
parent | ff18de053f338d0f100e7994db6ef5a2cac6280a (diff) | |
download | subsurface-e55c740d84cd11813e6d7e5bf7aa0a2f5f9a6784.tar.gz |
diveplanner: call planner model directly for simple variables.
Variables without conversion, do not need to pass plannerShared
(due to the QML interface).
Simple variables do not pass plannerShared, but diveplanner
in desktop-widgets and qmlinterface in mobile-widgets call the
implementation directly.
Signed-off-by: jan Iversen <jan@casacondor.com>
Diffstat (limited to 'mobile-widgets/qmlinterface.cpp')
-rw-r--r-- | mobile-widgets/qmlinterface.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mobile-widgets/qmlinterface.cpp b/mobile-widgets/qmlinterface.cpp index 6cf280f55..04fd0b6d9 100644 --- a/mobile-widgets/qmlinterface.cpp +++ b/mobile-widgets/qmlinterface.cpp @@ -63,6 +63,8 @@ void QMLInterface::setup(QQmlContext *ct) connect(qPrefDivePlanner::instance(), &qPrefDivePlanner::switch_at_req_stopChanged, instance(), &QMLInterface::switch_at_req_stopChanged); + connect(qPrefDivePlanner::instance(), &qPrefDivePlanner::problemsolvingtimeChanged, + instance(), &QMLInterface::problemsolvingtimeChanged); connect(qPrefDivePlanner::instance(), &qPrefDivePlanner::display_runtimeChanged, instance(), &QMLInterface::display_runtimeChanged); connect(qPrefDivePlanner::instance(), &qPrefDivePlanner::display_durationChanged, |