Index: sources/gui/qml/components/TouchRect.qml =================================================================== diff -u -r94f7349bd073a732dba5295250fc0e26f740743c -r79bf4dda5c027044ebd0014e7deac42a058a7fcf --- sources/gui/qml/components/TouchRect.qml (.../TouchRect.qml) (revision 94f7349bd073a732dba5295250fc0e26f740743c) +++ sources/gui/qml/components/TouchRect.qml (.../TouchRect.qml) (revision 79bf4dda5c027044ebd0014e7deac42a058a7fcf) @@ -38,6 +38,8 @@ property color borderColor : Colors.borderButton property color backgroundColor : Colors.backgroundButtonNormal + signal clicked + onDurationChanged: { _colorAnimationOn .duration = duration; _colorAnimationOff.duration = duration; @@ -84,7 +86,7 @@ } MouseArea { id: _mouseArea anchors.fill: parent - onPressed: { + onClicked : { if ( disabled ) { return } animate(true) }