Index: sources/gui/qml/components/WaitDone.qml =================================================================== diff -u -r22bd5aba8d60c1cfda0e0b3bdcb0f54cdc27dafb -rcdf80193148db0831cf2c1067732ddc6f6dac5fb --- sources/gui/qml/components/WaitDone.qml (.../WaitDone.qml) (revision 22bd5aba8d60c1cfda0e0b3bdcb0f54cdc27dafb) +++ sources/gui/qml/components/WaitDone.qml (.../WaitDone.qml) (revision cdf80193148db0831cf2c1067732ddc6f6dac5fb) @@ -26,6 +26,7 @@ Item { id: _root property int diameter: 50 property bool done : false + property bool failed : false Image { id: _busyIndicator visible : true @@ -51,10 +52,19 @@ Image { id: _checkIndicator anchors.centerIn: _root - opacity : _root.done ? 1 : 0 + opacity : _root.done && !_root.failed? 1 : 0 width : _root.diameter + 15 height : _root.diameter + 15 source : "qrc:/images/iBusyDone" Behavior on opacity { OpacityAnimator { duration: 1200 } } } + + Image { id: _failureIndicator + anchors.centerIn: _root + opacity : _root.done && _root.failed? 1 : 0 + width : _root.diameter + 15 + height : _root.diameter + 15 + source : "qrc:/images/iRedCross" + Behavior on opacity { OpacityAnimator { duration: 1200 } } + } }