mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +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"
|
objectName: "DiveList"
|
||||||
title: qsTr("Dive list")
|
title: qsTr("Dive list")
|
||||||
verticalScrollBarPolicy: Qt.ScrollBarAlwaysOff
|
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
|
property QtObject diveListModel: null
|
||||||
|
|
||||||
supportsRefreshing: true
|
supportsRefreshing: true
|
||||||
|
@ -129,7 +129,7 @@ Kirigami.ScrollablePage {
|
||||||
anchors {
|
anchors {
|
||||||
verticalCenter: parent.verticalCenter
|
verticalCenter: parent.verticalCenter
|
||||||
left: dateBox.right
|
left: dateBox.right
|
||||||
leftMargin: horizontalPadding * 2
|
leftMargin: dlHorizontalPadding * 2
|
||||||
right: parent.right
|
right: parent.right
|
||||||
}
|
}
|
||||||
color: subsurfaceTheme.lightPrimaryTextColor
|
color: subsurfaceTheme.lightPrimaryTextColor
|
||||||
|
@ -190,7 +190,7 @@ Kirigami.ScrollablePage {
|
||||||
color: selected ? subsurfaceTheme.darkerPrimaryTextColor : subsurfaceTheme.textColor
|
color: selected ? subsurfaceTheme.darkerPrimaryTextColor : subsurfaceTheme.textColor
|
||||||
anchors {
|
anchors {
|
||||||
left: parent.left
|
left: parent.left
|
||||||
leftMargin: horizontalPadding * 2
|
leftMargin: dlHorizontalPadding * 2
|
||||||
topMargin: Kirigami.Units.smallSpacing / 2
|
topMargin: Kirigami.Units.smallSpacing / 2
|
||||||
top: parent.top
|
top: parent.top
|
||||||
right: parent.right
|
right: parent.right
|
||||||
|
|
Loading…
Add table
Reference in a new issue