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/Settings.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/Settings.qml')
-rw-r--r-- | mobile-widgets/qml/Settings.qml | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mobile-widgets/qml/Settings.qml b/mobile-widgets/qml/Settings.qml index af64b58be..33b515070 100644 --- a/mobile-widgets/qml/Settings.qml +++ b/mobile-widgets/qml/Settings.qml @@ -5,14 +5,13 @@ import QtQuick.Controls 2.12 import org.kde.kirigami 2.4 as Kirigami import org.subsurfacedivelog.mobile 1.0 -Kirigami.ScrollablePage { +TemplatePage { objectName: "Settings" id: settingsPage property alias defaultCylinderModel: defaultCylinderBox.model property alias defaultCylinderIndex: defaultCylinderBox.currentIndex title: qsTr("Settings") - background: Rectangle { color: subsurfaceTheme.backgroundColor } property real gridWidth: settingsPage.width - Kirigami.Units.gridUnit property var describe: [qsTr("Undefined"), |