QML UI: fix GPS list rendering

There was an extra BasicListItem inside the SwipeListItem.
This commit just removes 5 lines, the rest is indentation change.

Fixes #312

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2017-04-15 13:32:16 -07:00
parent 052be692bb
commit cc6c41c846

View file

@ -19,13 +19,10 @@ Kirigami.ScrollablePage {
id: gpsFix id: gpsFix
enabled: true enabled: true
width: parent.width width: parent.width
Kirigami.BasicListItem {
supportsMouseEvents: true
width: parent.width - Kirigami.Units.gridUnit
icon: ""
GridLayout { GridLayout {
columns: 4 columns: 4
id: timeAndName id: timeAndName
width: parent.width
Kirigami.Label { Kirigami.Label {
text: qsTr('Date: ') text: qsTr('Date: ')
opacity: 0.6 opacity: 0.6
@ -65,7 +62,6 @@ Kirigami.ScrollablePage {
font.pointSize: subsurfaceTheme.smallPointSize font.pointSize: subsurfaceTheme.smallPointSize
} }
} }
}
actions: [ actions: [
Kirigami.Action { Kirigami.Action {
iconName: "trash-empty" iconName: "trash-empty"