summaryrefslogtreecommitdiffstats
path: root/examples/declarative/behaviours/MyRect.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/declarative/behaviours/MyRect.qml')
-rw-r--r--examples/declarative/behaviours/MyRect.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/declarative/behaviours/MyRect.qml b/examples/declarative/behaviours/MyRect.qml
index a272e1f..caf0d83 100644
--- a/examples/declarative/behaviours/MyRect.qml
+++ b/examples/declarative/behaviours/MyRect.qml
@@ -6,7 +6,7 @@ Rectangle {
width: 100
height: 100
id: page
- MouseRegion {
+ MouseArea {
anchors.fill: parent
onClicked: { bluerect.parent = page; bluerect.x=0 }
}