diff options
Diffstat (limited to 'mobile-widgets/qmlinterface.cpp')
-rw-r--r-- | mobile-widgets/qmlinterface.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/mobile-widgets/qmlinterface.cpp b/mobile-widgets/qmlinterface.cpp index e422a5856..277db13ef 100644 --- a/mobile-widgets/qmlinterface.cpp +++ b/mobile-widgets/qmlinterface.cpp @@ -47,4 +47,15 @@ void QMLInterface::setup(QQmlContext *ct) instance(), &QMLInterface::ascrate75Changed); connect(qPrefDivePlanner::instance(), &qPrefDivePlanner::descrateChanged, instance(), &QMLInterface::descrateChanged); + + connect(qPrefDivePlanner::instance(), &qPrefDivePlanner::display_runtimeChanged, + instance(), &QMLInterface::display_runtimeChanged); + connect(qPrefDivePlanner::instance(), &qPrefDivePlanner::display_durationChanged, + instance(), &QMLInterface::display_durationChanged); + connect(qPrefDivePlanner::instance(), &qPrefDivePlanner::display_transitionsChanged, + instance(), &QMLInterface::display_transitionsChanged); + connect(qPrefDivePlanner::instance(), &qPrefDivePlanner::verbatim_planChanged, + instance(), &QMLInterface::verbatim_planChanged); + connect(qPrefDivePlanner::instance(), &qPrefDivePlanner::display_variationsChanged, + instance(), &QMLInterface::display_variationsChanged); } |