aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/doc
diff options
context:
space:
mode:
authorKimmo Leppälä <kimmo.leppala@digia.com>2013-09-03 09:59:34 +0300
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-01-19 11:21:54 +0100
commit46ffd0e470b66e8cc501d5caf4ba92022d1ee474 (patch)
treeb698e110e8a2dd7fc85a6757398179e5e4348878 /src/qml/doc
parent0eabb34843cd282e10d96075a98f8795399bcd5d (diff)
QQmlEngine - fix example in documentation
example_qjsvalue_singletontype_provider example code snippet returns QJSValue instead of QJSValue*. Change-Id: If4d5592fcee25ada9870602c8f92197980ef9b77 Reviewed-by: Nico Vertriest <nico.vertriest@digia.com> Reviewed-by: Gunnar Sletta <gunnar.sletta@jollamobile.com>
Diffstat (limited to 'src/qml/doc')
-rw-r--r--src/qml/doc/src/qmlfunctions.qdoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/doc/src/qmlfunctions.qdoc b/src/qml/doc/src/qmlfunctions.qdoc
index 19cd3b3f02..d3d3174193 100644
--- a/src/qml/doc/src/qmlfunctions.qdoc
+++ b/src/qml/doc/src/qmlfunctions.qdoc
@@ -238,7 +238,7 @@
Usage:
\code
// First, define the singleton type provider function (callback).
- static QJSValue *example_qjsvalue_singletontype_provider(QQmlEngine *engine, QJSEngine *scriptEngine)
+ static QJSValue example_qjsvalue_singletontype_provider(QQmlEngine *engine, QJSEngine *scriptEngine)
{
Q_UNUSED(engine)