aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlengine.cpp
diff options
context:
space:
mode:
authorKavindra Palaraja <kavindra.d@gmail.com>2014-09-16 20:10:05 +0200
committerSimon Hausmann <simon.hausmann@digia.com>2014-09-16 20:16:22 +0200
commit3fee095bac4c2c777119c13e201777d3202ae084 (patch)
treed32048b0942daa405ebaa92f47806cab014d9951 /src/qml/qml/qqmlengine.cpp
parentcc8a76ce8ea76afe912902067e95ca2abf9e482f (diff)
Fixed documentation for QQmlEngine::ObjectOwnership.
The ObjectOwnership enum's documentation mentioned that QObjects returned from property access are indestructible, which they aren't. Task-number: QTBUG-35426 Change-Id: Ic936b33b736ff7a45482cf1b626977d34ac4ebb2 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/qml/qqmlengine.cpp')
-rw-r--r--src/qml/qml/qqmlengine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/qml/qqmlengine.cpp b/src/qml/qml/qqmlengine.cpp
index e54e23813d..7e66cce490 100644
--- a/src/qml/qml/qqmlengine.cpp
+++ b/src/qml/qml/qqmlengine.cpp
@@ -1258,7 +1258,7 @@ void QQmlEngine::setContextForObject(QObject *object, QQmlContext *context)
\value JavaScriptOwnership The object is owned by JavaScript.
When the object is returned to QML as the return value of a method
- call or property access, QML will track it, and delete the object
+ call, QML will track it, and delete the object
if there are no remaining JavaScript references to it and it has no
QObject::parent(). An object tracked by one QQmlEngine
will be deleted during that QQmlEngine's destructor, and thus