Commit a1edb631 authored by Volker Krause's avatar Volker Krause
Browse files

Show thumbnail image in generic pkpass passes when present

parent 53243528
......@@ -79,7 +79,7 @@ Rectangle {
GridLayout {
id: primaryFieldLayout
rows: 2
columns: pass.primaryFields.length
columns: pass.primaryFields.length + 1
Layout.fillWidth: true
Repeater {
......@@ -91,6 +91,10 @@ Rectangle {
horizontalAlignment: modelData.textAlignment
}
}
Image {
Layout.rowSpan: 2
source: "image://org.kde.pkpass/" + passId + "/thumbnail"
}
Repeater {
model: pass.primaryFields
delegate: QQC2.Label {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment