-
Bug
-
Resolution: Fixed
-
P2: Important
-
QSR 2.1
-
None
-
8ed131261 (dev), 1a2249afd (tqtc/lts-6.5), 5dae159e1 (tqtc/lts-6.5.4)
In a QML file, the SafeImage component does not generate an error message when the source image specified in its states is not found.
Expected Behavior: An error message should be displayed when the source image in states cannot be found.
Actual Behavior: No error message is displayed, and no sts files are generated for the item.
SafeImage {
id: eyesClosed
width: 48
height: 48
x: 41
y: 228
opacity: 1
fillColor: "black"
source: "assets/eye_closed1.png"
states: [
State {
name: "alert"
PropertyChanges {
target: eyesClosed
source: "eye_closed2.png"
opacity: 1
}
},
State {
name: "warning"
PropertyChanges {
target: eyesClosed
source: "eye_closed1.png"
opacity: 1
}
},
State {
name: "OFF"
PropertyChanges {
target: eyesClosed
fillColor: "black"
opacity: 0
}
}
]
}