summaryrefslogtreecommitdiffstats
path: root/demos/declarative/samegame/content/Button.qml
diff options
context:
space:
mode:
Diffstat (limited to 'demos/declarative/samegame/content/Button.qml')
-rw-r--r--demos/declarative/samegame/content/Button.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/declarative/samegame/content/Button.qml b/demos/declarative/samegame/content/Button.qml
index 63cd555..6629302 100644
--- a/demos/declarative/samegame/content/Button.qml
+++ b/demos/declarative/samegame/content/Button.qml
@@ -17,7 +17,7 @@ Rectangle {
GradientStop { position: 1.0; color: activePalette.button }
}
- MouseRegion { id: mr; anchors.fill: parent; onClicked: container.clicked() }
+ MouseArea { id: mr; anchors.fill: parent; onClicked: container.clicked() }
Text {
id: txtItem; text: container.text; anchors.centerIn: container; color: activePalette.buttonText