diff options
author | jan Iversen <jan@casacondor.com> | 2020-01-27 22:20:27 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-02-03 17:30:06 -0800 |
commit | f16dc7255610939faaf1eb789a06c8853387ed82 (patch) | |
tree | d29c64b541623cbde52a2f08ee2f8249403a4461 /mobile-widgets/qml/DivePlannerSetup.qml | |
parent | 3aa43f3ea5a64afdda934fb9a8ff52deecd71db6 (diff) | |
download | subsurface-f16dc7255610939faaf1eb789a06c8853387ed82.tar.gz |
mobile-widgets/qml: use new templates in converted pages
Use the TemplatePage and TemplateButton in the converted pages.
In order to avoid a bigger search/replace all other pages are left
untouched (for now).
Signed-off-by: jan Iversen <jan@casacondor.com>
Diffstat (limited to 'mobile-widgets/qml/DivePlannerSetup.qml')
-rw-r--r-- | mobile-widgets/qml/DivePlannerSetup.qml | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mobile-widgets/qml/DivePlannerSetup.qml b/mobile-widgets/qml/DivePlannerSetup.qml index 6c065606f..4c014aaf5 100644 --- a/mobile-widgets/qml/DivePlannerSetup.qml +++ b/mobile-widgets/qml/DivePlannerSetup.qml @@ -7,9 +7,8 @@ import QtQuick.Dialogs 1.3 import org.subsurfacedivelog.mobile 1.0 import org.kde.kirigami 2.4 as Kirigami -Kirigami.ScrollablePage { +TemplatePage { title: qsTr("Dive planner setup") - background: Rectangle { color: subsurfaceTheme.backgroundColor } property string speedUnit: (Backend.length === Enums.METERS) ? qsTr(" m/min") : qsTr(" ft/min") property string volumeUnit: (Backend.volume === Enums.LITER) ? qsTr(" l/min") : qsTr(" cuft/min") |