aboutsummaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qml/DivePlannerSetup.qml
diff options
context:
space:
mode:
authorGravatar jan Iversen <jan@casacondor.com>2020-01-21 12:24:40 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-01-25 17:13:20 -0800
commite55c740d84cd11813e6d7e5bf7aa0a2f5f9a6784 (patch)
tree68e15aafdb111f679054e9a0f87a8967c8c27e6e /mobile-widgets/qml/DivePlannerSetup.qml
parentff18de053f338d0f100e7994db6ef5a2cac6280a (diff)
downloadsubsurface-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/qml/DivePlannerSetup.qml')
-rw-r--r--mobile-widgets/qml/DivePlannerSetup.qml6
1 files changed, 3 insertions, 3 deletions
diff --git a/mobile-widgets/qml/DivePlannerSetup.qml b/mobile-widgets/qml/DivePlannerSetup.qml
index 58bbb1ac9..294752de3 100644
--- a/mobile-widgets/qml/DivePlannerSetup.qml
+++ b/mobile-widgets/qml/DivePlannerSetup.qml
@@ -275,12 +275,12 @@ Kirigami.ScrollablePage {
from: 1
to: 9
stepSize: 1
- value: Planner.problemsolvingtime
+ value: Backend.problemsolvingtime
textFromValue: function (value, locale) {
- return value + qsTr("min")
+ return value + qsTr(" min")
}
onValueModified: {
- Planner.problemsolvingtime = value
+ Backend.problemsolvingtime = value
}
}
TemplateLabel {