summaryrefslogtreecommitdiffstats
path: root/examples/declarative/workerscript/workerscript.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/declarative/workerscript/workerscript.qml')
-rw-r--r--examples/declarative/workerscript/workerscript.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/declarative/workerscript/workerscript.qml b/examples/declarative/workerscript/workerscript.qml
index e36d4d4..0566f1f 100644
--- a/examples/declarative/workerscript/workerscript.qml
+++ b/examples/declarative/workerscript/workerscript.qml
@@ -20,7 +20,7 @@ Rectangle {
anchors.leftMargin: 20
color: "red"
- MouseRegion {
+ MouseArea {
anchors.fill: parent
onClicked: myWorker.sendMessage( { rectangle: "red", x: mouse.x, y: mouse.y } );
}
@@ -32,7 +32,7 @@ Rectangle {
anchors.rightMargin: 20
color: "blue"
- MouseRegion {
+ MouseArea {
anchors.fill: parent
onClicked: myWorker.sendMessage( { rectangle: "blue", x: mouse.x, y: mouse.y } );
}