diff options
-rw-r--r-- | examples/declarative/tutorials/helloworld/t3/tutorial3.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/declarative/tutorials/helloworld/t3/tutorial3.qml b/examples/declarative/tutorials/helloworld/t3/tutorial3.qml index 81e1f6a..426640d 100644 --- a/examples/declarative/tutorials/helloworld/t3/tutorial3.qml +++ b/examples/declarative/tutorials/helloworld/t3/tutorial3.qml @@ -15,7 +15,7 @@ Rectangle { states: [ State { name: "down" - when: MouseRegion.pressed == true + when: MouseRegionId.pressed == true PropertyChanges { target: HelloText y: 160 @@ -39,7 +39,7 @@ Rectangle { } ] } - MouseRegion { id: MouseRegion; anchors.fill: HelloText } + MouseRegion { id: MouseRegionId; anchors.fill: HelloText } Grid { id: ColorPicker x: 0 |