summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2021-02-12 08:59:10 +0100
committerUlf Hermann <ulf.hermann@qt.io>2021-02-12 10:09:20 +0100
commit165ba01a6833e88896cf3f323d8fad67561e1edd (patch)
treea6884865c437c26ba7a42347edb8611d0f541f9f
parentb9f7d428773b90c06b436eedde8cface4b9e2522 (diff)
Doc: Avoid unqualified lookup in the signals documentation
Pick-to: 6.1 Change-Id: Ibcb20311c7e5a56038c738da77d9dfcc9464bce4 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
-rw-r--r--src/qml/doc/src/qmllanguageref/syntax/signals.qdoc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/doc/src/qmllanguageref/syntax/signals.qdoc b/src/qml/doc/src/qmllanguageref/syntax/signals.qdoc
index b151478566..dd71347b2a 100644
--- a/src/qml/doc/src/qmllanguageref/syntax/signals.qdoc
+++ b/src/qml/doc/src/qmllanguageref/syntax/signals.qdoc
@@ -209,8 +209,8 @@ Rectangle {
TapHandler {
id: handler
- onTapped: root.activated(mouseXY.x, mouseXY.y)
- onPressedChanged: mouseXY = handler.point.position
+ onTapped: root.activated(root.mouseXY.x, root.mouseXY.y)
+ onPressedChanged: root.mouseXY = handler.point.position
}
}
\endqml