Commit 5d9f7288 authored by Volker Krause's avatar Volker Krause

Show pkpass footer image

This sometimes contains fast lane access banners.
parent 9d471d0d
...@@ -49,7 +49,7 @@ Item { ...@@ -49,7 +49,7 @@ Item {
Image { Image {
Layout.rowSpan: 2 Layout.rowSpan: 2
source: passId !== "" ? "image://org.kde.pkpass/" + passId + "/logo" : null source: passId !== "" ? "image://org.kde.pkpass/" + passId + "/logo" : ""
sourceSize.height: 1 // ??? seems necessary to trigger high dpi scaling... sourceSize.height: 1 // ??? seems necessary to trigger high dpi scaling...
} }
...@@ -190,6 +190,13 @@ Item { ...@@ -190,6 +190,13 @@ Item {
} }
} }
// footer
Image {
source: passId !== "" ? "image://org.kde.pkpass/" + passId + "/footer" : ""
sourceSize.height: 1 // ??? seems necessary to trigger high dpi scaling...
Layout.alignment: Qt.AlignCenter
}
// barcode // barcode
Rectangle { Rectangle {
implicitHeight: barcodeLayout.implicitHeight implicitHeight: barcodeLayout.implicitHeight
......
Markdown is supported
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