aboutsummaryrefslogtreecommitdiffstats
path: root/examples/qml/doc/src
diff options
context:
space:
mode:
authorAndreas Eliasson <andreas.eliasson@qt.io>2022-05-31 14:41:42 +0200
committerAndreas Eliasson <andreas.eliasson@qt.io>2022-06-02 10:07:40 +0200
commit92419f7f1bcee1bd390f040a3909d19556888c9d (patch)
tree4884f00a920d447d2579c21bf3c7e98a35e377ea /examples/qml/doc/src
parente5251efe97fd66431f8badeb3cdcb67586b2e015 (diff)
Doc: Rename snippet id to a unique identifier
The header file has two snippets with the same id. Rename to unique values and link to the correct snippet id from the qdoc file. Fixes: QTWEBSITE-1051 Pick-to: 6.3 Change-Id: I9003916f831898026f520fd86d60ab1c0230e6c4 Reviewed-by: Kai Koehne <kai.koehne@qt.io>
Diffstat (limited to 'examples/qml/doc/src')
-rw-r--r--examples/qml/doc/src/qml-extending.qdoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/qml/doc/src/qml-extending.qdoc b/examples/qml/doc/src/qml-extending.qdoc
index 310436759e..ca244d7fce 100644
--- a/examples/qml/doc/src/qml-extending.qdoc
+++ b/examples/qml/doc/src/qml-extending.qdoc
@@ -165,7 +165,7 @@ developed in the previous examples into two types - a \c Boy and a \c Girl.
\section1 Declare Boy and Girl
-\snippet referenceexamples/coercion/person.h 0
+\snippet referenceexamples/coercion/person.h 1
The Person class remains unaltered in this example and the Boy and Girl C++
classes are trivial extensions of it. The types and their QML name are