aboutsummaryrefslogtreecommitdiffstats
path: root/doc/src/qml/qtdeclarative.qdoc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/src/qml/qtdeclarative.qdoc')
-rw-r--r--doc/src/qml/qtdeclarative.qdoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/src/qml/qtdeclarative.qdoc b/doc/src/qml/qtdeclarative.qdoc
index 48cc898458..5ad637ab50 100644
--- a/doc/src/qml/qtdeclarative.qdoc
+++ b/doc/src/qml/qtdeclarative.qdoc
@@ -351,7 +351,7 @@
// third, register the module API provider with QML by calling this function in an initialization function.
...
- qmlRegisterModuleApi("Qt.example.qobjectApi", 1, 0, example_qobject_module_api_provider);
+ qmlRegisterModuleApi<ModuleApiExample>("Qt.example.qobjectApi", 1, 0, example_qobject_module_api_provider);
...
\endcode