aboutsummaryrefslogtreecommitdiffstats
path: root/examples/qml/referenceexamples/coercion/person.h
diff options
context:
space:
mode:
authorAndreas Eliasson <andreas.eliasson@qt.io>2022-05-31 14:41:42 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2022-06-08 16:10:36 +0000
commit00821ec4d5de95eaa1e6f86b99b59339d3dd2225 (patch)
treeba551f400ea4610743e3b69f228a9889685f4ab4 /examples/qml/referenceexamples/coercion/person.h
parent3b6d14152503a0f525afa1124ebac1528eddb7dc (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 Change-Id: I9003916f831898026f520fd86d60ab1c0230e6c4 Reviewed-by: Kai Koehne <kai.koehne@qt.io> (cherry picked from commit 92419f7f1bcee1bd390f040a3909d19556888c9d) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'examples/qml/referenceexamples/coercion/person.h')
-rw-r--r--examples/qml/referenceexamples/coercion/person.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/examples/qml/referenceexamples/coercion/person.h b/examples/qml/referenceexamples/coercion/person.h
index 1ec095e841..aa2100f2da 100644
--- a/examples/qml/referenceexamples/coercion/person.h
+++ b/examples/qml/referenceexamples/coercion/person.h
@@ -77,8 +77,7 @@ private:
int m_shoeSize = 0;
};
-
-// ![0]
+// ![1]
class Boy : public Person
{
Q_OBJECT
@@ -97,6 +96,6 @@ public:
};
//! [girl class]
-// ![0]
+// ![1]
#endif // PERSON_H