mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
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>
This commit is contained in:
parent
0e7fd632c1
commit
35ca8e4c66
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue