summaryrefslogtreecommitdiffstats
path: root/examples/declarative/behaviours/SideRect.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/declarative/behaviours/SideRect.qml')
-rw-r--r--examples/declarative/behaviours/SideRect.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/declarative/behaviours/SideRect.qml b/examples/declarative/behaviours/SideRect.qml
index c7c7ebf..63b7db2 100644
--- a/examples/declarative/behaviours/SideRect.qml
+++ b/examples/declarative/behaviours/SideRect.qml
@@ -9,7 +9,7 @@ Rectangle {
width: 75; height: 50
radius: 5
border.width: 10; border.color: "white";
- MouseRegion {
+ MouseArea {
anchors.fill: parent
hoverEnabled: true
onEntered: { focusRect.x = myRect.x; focusRect.y = myRect.y; focusRect.text = myRect.text }