summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorAlan Alpert <alan.alpert@nokia.com>2010-11-04 01:05:14 (GMT)
committerAlan Alpert <alan.alpert@nokia.com>2010-11-04 01:05:14 (GMT)
commitbee2335bbb3cbfe0e2d1184ca22835b0cf15fb7b (patch)
tree736215b40696a702a73a2f3515138035ec34b002 /doc
parent5ab0ad47ba216c851c21d7fee73a69d2a793ea65 (diff)
downloadQt-bee2335bbb3cbfe0e2d1184ca22835b0cf15fb7b.zip
Qt-bee2335bbb3cbfe0e2d1184ca22835b0cf15fb7b.tar.gz
Qt-bee2335bbb3cbfe0e2d1184ca22835b0cf15fb7b.tar.bz2
Doc fix
The associated bug report is invalid, but this doc fix helps people understand why (so that they never mistakenly file it again). Task-number: QTBUG-14950
Diffstat (limited to 'doc')
-rw-r--r--doc/src/declarative/dynamicobjects.qdoc6
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/src/declarative/dynamicobjects.qdoc b/doc/src/declarative/dynamicobjects.qdoc
index 3921d3e..daf2ae1 100644
--- a/doc/src/declarative/dynamicobjects.qdoc
+++ b/doc/src/declarative/dynamicobjects.qdoc
@@ -173,7 +173,11 @@ component. Each instance runs a NumberAnimation, and when the animation has fini
Alternatively, the \c application.qml could have destroyed the created object
by calling \c object.destroy().
-Notice that if a \c SelfDestroyingRect instance was created statically like this:
+Note that it is safe to call destroy() on an object within that object. Objects are not destroyed the
+instant destroy() is called, but are cleaned up sometime between the end of that script block and the next frame
+(unless you specified a non-zero delay).
+
+Note also that if a \c SelfDestroyingRect instance was created statically like this:
\qml
Item {