diff options
Diffstat (limited to 'examples/declarative/threading/workerscript/qml/workerscript/workerscript.qml')
-rw-r--r-- | examples/declarative/threading/workerscript/qml/workerscript/workerscript.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/declarative/threading/workerscript/qml/workerscript/workerscript.qml b/examples/declarative/threading/workerscript/qml/workerscript/workerscript.qml index bc042c53..2f3cb77e 100644 --- a/examples/declarative/threading/workerscript/qml/workerscript/workerscript.qml +++ b/examples/declarative/threading/workerscript/qml/workerscript/workerscript.qml @@ -59,7 +59,7 @@ Rectangle { anchors.left: parent.left; anchors.leftMargin: 20 color: "red" - MouseArea { + MouseArea { anchors.fill: parent onClicked: myWorker.sendMessage( { rectangle: "red", x: mouse.x, y: mouse.y } ); } @@ -70,7 +70,7 @@ Rectangle { anchors.right: parent.right; anchors.rightMargin: 20 color: "blue" - MouseArea { + MouseArea { anchors.fill: parent onClicked: myWorker.sendMessage( { rectangle: "blue", x: mouse.x, y: mouse.y } ); } |