summaryrefslogtreecommitdiffstats
path: root/examples/declarative/dynamic/qml/Button.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/declarative/dynamic/qml/Button.qml')
-rw-r--r--examples/declarative/dynamic/qml/Button.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/declarative/dynamic/qml/Button.qml b/examples/declarative/dynamic/qml/Button.qml
index cf2ffa7..757e295 100644
--- a/examples/declarative/dynamic/qml/Button.qml
+++ b/examples/declarative/dynamic/qml/Button.qml
@@ -19,6 +19,6 @@ Rectangle {
color: if(!mr.pressed){activePalette.button;}else{activePalette.dark;}
}
}
- MouseRegion { id:mr; anchors.fill: parent; onClicked: container.clicked() }
+ MouseArea { id:mr; anchors.fill: parent; onClicked: container.clicked() }
Text { id: text; anchors.centerIn:parent; font.pointSize: 10; text: parent.text; color: activePalette.buttonText }
}