summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qdeclarativecomponent.cpp
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2010-05-11 22:45:12 (GMT)
committerMartin Jones <martin.jones@nokia.com>2010-05-11 22:45:12 (GMT)
commit0f9f07c52310c33433dcdf5db3e9d02c695b85af (patch)
tree80b8a6b2521771eccd7864e850edfa5bb62415e2 /src/declarative/qml/qdeclarativecomponent.cpp
parent1a60fdf2a97e922e8d4dcb0158649e5b285ce066 (diff)
downloadQt-0f9f07c52310c33433dcdf5db3e9d02c695b85af.zip
Qt-0f9f07c52310c33433dcdf5db3e9d02c695b85af.tar.gz
Qt-0f9f07c52310c33433dcdf5db3e9d02c695b85af.tar.bz2
Document Component::createObject() parent argument.
Task-number: QTBUG-10617
Diffstat (limited to 'src/declarative/qml/qdeclarativecomponent.cpp')
-rw-r--r--src/declarative/qml/qdeclarativecomponent.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/qml/qdeclarativecomponent.cpp b/src/declarative/qml/qdeclarativecomponent.cpp
index afdaee8..e757675 100644
--- a/src/declarative/qml/qdeclarativecomponent.cpp
+++ b/src/declarative/qml/qdeclarativecomponent.cpp
@@ -545,7 +545,7 @@ QDeclarativeComponent::QDeclarativeComponent(QDeclarativeComponentPrivate &dd, Q
}
/*!
- \qmlmethod object Component::createObject()
+ \qmlmethod object Component::createObject(parent)
Returns an object instance from this component, or null if object creation fails.
The object will be created in the same context as the one in which the component