diff options
Diffstat (limited to 'tests/auto/declarative/qmlvisual/animation/bindinganimation/bindinganimation.qml')
-rw-r--r-- | tests/auto/declarative/qmlvisual/animation/bindinganimation/bindinganimation.qml | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/tests/auto/declarative/qmlvisual/animation/bindinganimation/bindinganimation.qml b/tests/auto/declarative/qmlvisual/animation/bindinganimation/bindinganimation.qml index 611eaf5..9019812 100644 --- a/tests/auto/declarative/qmlvisual/animation/bindinganimation/bindinganimation.qml +++ b/tests/auto/declarative/qmlvisual/animation/bindinganimation/bindinganimation.qml @@ -14,15 +14,12 @@ Rectangle { } states: [ State { + when: myMouseArea.pressed name: "hello" PropertyChanges { target: myRectangle x: 50 + 50 } - PropertyChanges { - target: myMouseArea - onClicked: page.state = '' - } } ] transitions: [ @@ -35,6 +32,5 @@ Rectangle { MouseArea { id: myMouseArea anchors.fill: parent - onClicked: { page.state= 'hello' } } } |