aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Wicking <paul.wicking@qt.io>2021-01-05 09:13:58 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-01-05 12:38:57 +0000
commita6202f87710c2778844b7d8cd80b54ac8742185c (patch)
treee6f79e1addc11a4aeb6ee51d2b3944bed3562eb5
parentf7240980050bdf4f9fa8566e3064c15b94891249 (diff)
Doc: Fix broken QDoc markup
\code must be closed with \endcode. Fixes: QTBUG-89738 Change-Id: I0cadb14b6726a6fdc6c3fb773155066d30490e74 Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io> (cherry picked from commit 357e426d9849a048d3063030f2a1355f22c259e0) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--src/qml/doc/src/qmllanguageref/modules/qqmlextensionplugin.qdocinc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/doc/src/qmllanguageref/modules/qqmlextensionplugin.qdocinc b/src/qml/doc/src/qmllanguageref/modules/qqmlextensionplugin.qdocinc
index ec888ae937..b1fce12dc3 100644
--- a/src/qml/doc/src/qmllanguageref/modules/qqmlextensionplugin.qdocinc
+++ b/src/qml/doc/src/qmllanguageref/modules/qqmlextensionplugin.qdocinc
@@ -33,7 +33,7 @@ called "my.module", you would add the forward declaration in global scope:
\code
void qml_register_types_my_module();
-\code
+\endcode
Then add the following snippet of code in the implementation of any function
that's part of the same binary as the registration:
@@ -41,7 +41,7 @@ that's part of the same binary as the registration:
\code
volatile auto registration = &qml_register_types_my_module;
Q_UNUSED(registration);
-\code
+\endcode
\section1 TimeExample QML extension plugin