summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qml/DiveList.qml
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2020-11-24 15:55:03 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-12-17 09:17:54 -0800
commit35ca8e4c66690c50dd45cf0842c95678da0ce899 (patch)
tree6b3a8384ca155dad11254f738c267996349675cf /mobile-widgets/qml/DiveList.qml
parent0e7fd632c1db5acbc5e37c5161950e6b4105e509 (diff)
downloadsubsurface-35ca8e4c66690c50dd45cf0842c95678da0ce899.tar.gz
mobile: don't use reserved word
This used to work, but with current QML/Kirigami it throws an error. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets/qml/DiveList.qml')
-rw-r--r--mobile-widgets/qml/DiveList.qml6
1 files changed, 3 insertions, 3 deletions
diff --git a/mobile-widgets/qml/DiveList.qml b/mobile-widgets/qml/DiveList.qml
index a71153aa9..d6177cb19 100644
--- a/mobile-widgets/qml/DiveList.qml
+++ b/mobile-widgets/qml/DiveList.qml
@@ -12,7 +12,7 @@ Kirigami.ScrollablePage {
objectName: "DiveList"
title: qsTr("Dive list")
verticalScrollBarPolicy: Qt.ScrollBarAlwaysOff
- property int horizontalPadding: Kirigami.Units.gridUnit / 2 - Kirigami.Units.smallSpacing + 1
+ property int dlHorizontalPadding: Kirigami.Units.gridUnit / 2 - Kirigami.Units.smallSpacing + 1
property QtObject diveListModel: null
supportsRefreshing: true
@@ -129,7 +129,7 @@ Kirigami.ScrollablePage {
anchors {
verticalCenter: parent.verticalCenter
left: dateBox.right
- leftMargin: horizontalPadding * 2
+ leftMargin: dlHorizontalPadding * 2
right: parent.right
}
color: subsurfaceTheme.lightPrimaryTextColor
@@ -190,7 +190,7 @@ Kirigami.ScrollablePage {
color: selected ? subsurfaceTheme.darkerPrimaryTextColor : subsurfaceTheme.textColor
anchors {
left: parent.left
- leftMargin: horizontalPadding * 2
+ leftMargin: dlHorizontalPadding * 2
topMargin: Kirigami.Units.smallSpacing / 2
top: parent.top
right: parent.right