Skip to content

Commit 3a0419d

Browse files
committed
Doc: Fix wrong command name in QDoc manual
While bulk changing use of the `\instantiates` command to the new `nativetype` command, the entries in the QDoc manual for `\instantiates` were changed on accident. This lead to a confusing statement in the documentation: "The \nativetype command is deprecated since Qt 6.8. Use \nativetype instead". This change corrects the command name in the documentation. Pick-to: 6.8 Task-number: QTBUG-128216 Change-Id: Ib1f42d2166c1ccfb231885ba21bf35c3d0752194 Reviewed-by: Andreas Eliasson <[email protected]>
1 parent 4b066c2 commit 3a0419d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/qdoc/qdoc/doc/qdoc-manual-cmdindex.qdoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
\li \l {inlineimage-command} {\\inlineimage}
5959
\li \l {inmodule-command} {\\inmodule}
6060
\li \l {inqmlmodule-command} {\\inqmlmodule}
61-
\li \l {instantiates-command} {\\nativetype} (deprecated, use \\nativetype)
61+
\li \l {instantiates-command} {\\instantiates} (deprecated, use \\nativetype)
6262
\li \l {internal-command} {\\internal}
6363
\li \l {keyword-command} {\\keyword}
6464
\li \l {l-command} {\\l}

src/qdoc/qdoc/doc/qdoc-manual-topiccmds.qdoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -899,9 +899,9 @@
899899
link text.
900900

901901
\target instantiates-command
902-
\section1 \\nativetype
902+
\section1 \\instantiates
903903

904-
The \\nativetype command is deprecated since Qt 6.8.
904+
The \\instantiates command is deprecated since Qt 6.8.
905905
Use \qdoccmd nativetype instead.
906906

907907

0 commit comments

Comments
 (0)