summaryrefslogtreecommitdiffstats
path: root/demos/declarative/samegame/content/Dialog.qml
diff options
context:
space:
mode:
Diffstat (limited to 'demos/declarative/samegame/content/Dialog.qml')
-rw-r--r--demos/declarative/samegame/content/Dialog.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/declarative/samegame/content/Dialog.qml b/demos/declarative/samegame/content/Dialog.qml
index 5bd1123..7769328 100644
--- a/demos/declarative/samegame/content/Dialog.qml
+++ b/demos/declarative/samegame/content/Dialog.qml
@@ -18,5 +18,5 @@ Rectangle {
NumberAnimation { duration: 1000 }
}
Text { id: myText; anchors.centerIn: parent; text: "Hello World!" }
- MouseRegion { id: mr; anchors.fill: parent; onClicked: forceClose(); }
+ MouseArea { id: mr; anchors.fill: parent; onClicked: forceClose(); }
}