summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2021-02-12 08:59:10 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-02-12 11:52:14 +0000
commit59dacc30d474f9361528662ded7d410a093c25b0 (patch)
tree61a8e13ade9a09bc2c32d8063605b1791c622bb7
parent06d819cd714542427ed9f70820b84004c874a9db (diff)
Doc: Avoid unqualified lookup in the signals documentation
Change-Id: Ibcb20311c7e5a56038c738da77d9dfcc9464bce4 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> (cherry picked from commit 165ba01a6833e88896cf3f323d8fad67561e1edd) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-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