Changeset View
Changeset View
Standalone View
Standalone View
applets/devicenotifier/package/contents/ui/FullRepresentation.qml
Show First 20 Lines • Show All 219 Lines • ▼ Show 20 Line(s) | 219 | onOperationResultChanged: { | |||
---|---|---|---|---|---|
220 | if (operationResult == 1) { | 220 | if (operationResult == 1) { | ||
221 | devicenotifier.popupIcon = "dialog-ok" | 221 | devicenotifier.popupIcon = "dialog-ok" | ||
222 | popupIconTimer.restart() | 222 | popupIconTimer.restart() | ||
223 | } else if (operationResult == 2) { | 223 | } else if (operationResult == 2) { | ||
224 | devicenotifier.popupIcon = "dialog-error" | 224 | devicenotifier.popupIcon = "dialog-error" | ||
225 | popupIconTimer.restart() | 225 | popupIconTimer.restart() | ||
226 | } | 226 | } | ||
227 | } | 227 | } | ||
228 | Behavior on height { NumberAnimation { duration: units.shortDuration * 3 } } | 228 | Behavior on height { NumberAnimation { duration: units.shortDuration } } | ||
229 | } | 229 | } | ||
230 | } | 230 | } | ||
231 | } | 231 | } |