summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qmlanimations/data/dotproperty.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/declarative/qmlanimations/data/dotproperty.qml')
-rw-r--r--tests/auto/declarative/qmlanimations/data/dotproperty.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/declarative/qmlanimations/data/dotproperty.qml b/tests/auto/declarative/qmlanimations/data/dotproperty.qml
index 369491f..9f0e699 100644
--- a/tests/auto/declarative/qmlanimations/data/dotproperty.qml
+++ b/tests/auto/declarative/qmlanimations/data/dotproperty.qml
@@ -9,7 +9,7 @@ Rectangle {
color: "red"
width: 50; height: 50
x: 100; y: 100
- MouseRegion {
+ MouseArea {
anchors.fill: parent
onClicked: if (wrapper.state == "state1") wrapper.state = ""; else wrapper.state = "state1";
}
@@ -19,6 +19,6 @@ Rectangle {
PropertyChanges { target: myRect; border.color: "blue" }
}
transitions: Transition {
- ColorAnimation { matchProperties: "border.color"; duration: 1000 }
+ ColorAnimation { properties: "border.color"; duration: 1000 }
}
}