summaryrefslogtreecommitdiffstats
path: root/app/SeatHeatButton.qml
diff options
context:
space:
mode:
authorJan-Simon Moeller <jsmoeller@linuxfoundation.org>2024-11-19 12:47:43 +0100
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2024-11-19 12:48:12 +0100
commit3ff350bd5376c5a255909b43a7336801e797ca76 (patch)
tree65f1c52a50b26394cbdb2bd6186a7d4a67b0e987 /app/SeatHeatButton.qml
parent0e7623417dbe9627334b550d7287a1830872564e (diff)
Import the patches for the demo applications into the app repos. Bug-AGL: SPEC-5294 Change-Id: Ic54c598dfdcc702831a7637c72ee863d84b913e3 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'app/SeatHeatButton.qml')
-rw-r--r--app/SeatHeatButton.qml10
1 files changed, 5 insertions, 5 deletions
diff --git a/app/SeatHeatButton.qml b/app/SeatHeatButton.qml
index 3495cf6..7e2e1d4 100644
--- a/app/SeatHeatButton.qml
+++ b/app/SeatHeatButton.qml
@@ -33,13 +33,13 @@ Item {
anchors.centerIn: parent
Image {
id: chair
- source: './images/HMI_HVAC_%1_Chair_OFF.svg'.arg(root.side)
+ source: 'qrc:/images/HMI_HVAC_%1_Chair_OFF.svg'.arg(root.side)
states: [
State {
when: root.headLevel > 0
PropertyChanges {
target: chair
- source: './images/HMI_HVAC_%1_Chair_ON.svg'.arg(root.side)
+ source: 'qrc:/images/HMI_HVAC_%1_Chair_ON.svg'.arg(root.side)
}
}
]
@@ -48,20 +48,20 @@ Item {
id: indicator
width: 178
height: 18
- source: './images/HMI_HVAC_ChairIndicator_OFF.svg'
+ source: 'qrc:/images/HMI_HVAC_ChairIndicator_OFF.svg'
states: [
State {
when: root.headLevel === 1
PropertyChanges {
target: indicator
- source: './images/HMI_HVAC_ChairIndicator_One.svg'
+ source: 'qrc:/images/HMI_HVAC_ChairIndicator_One.svg'
}
},
State {
when: root.headLevel === 2
PropertyChanges {
target: indicator
- source: './images/HMI_HVAC_ChairIndicator_Two.svg'
+ source: 'qrc:/images/HMI_HVAC_ChairIndicator_Two.svg'
}
}
]