aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorIvan Tkachenko <me@ratijas.tk>2024-05-05 02:31:47 +0600
committerIvan Tkachenko <me@ratijas.tk>2024-05-05 10:36:02 +0600
commitdaa0e38a3772171da8ef63c583cc9e310c606fb1 (patch)
treeff30823a89fa3bb12ad2e6686b6208d7dc84615f /src
parent947986009dd13ff2992c1f91b369493037fb1463 (diff)
doc: Fix string interpolationHEADdev
Whoopsie! I guess I haven't implemented syntax highlighting for qdoc at that time yet. But now that I have it, the mistakes like this one are very prominent, as qdoc embeds qml syntax which in turn embeds js syntax which renders strings as green and interpolated sub-expressions as white. Amends 7e0d5a0c99e8f98226b0e3f6f6534af275fcc80d Change-Id: Ifd38f64d629b33b9c16dc257e7d8efc5a40eb2bd Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'src')
-rw-r--r--src/qml/doc/src/qmllanguageref/syntax/objectattributes.qdoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/doc/src/qmllanguageref/syntax/objectattributes.qdoc b/src/qml/doc/src/qmllanguageref/syntax/objectattributes.qdoc
index 0fb7d5f039..2b1803042e 100644
--- a/src/qml/doc/src/qmllanguageref/syntax/objectattributes.qdoc
+++ b/src/qml/doc/src/qmllanguageref/syntax/objectattributes.qdoc
@@ -868,7 +868,7 @@ provided by the client:
SquareButton {
onDeactivated: console.log("Deactivated!")
onActivated: (xPosition, yPosition) => {
- console.log(`Activated at {xPosition}, ${yPosition}`)
+ console.log(`Activated at ${xPosition}, ${yPosition}`)
}
}
\endqml