diff options
author | Alan Alpert <alan.alpert@nokia.com> | 2010-11-04 01:05:14 (GMT) |
---|---|---|
committer | Alan Alpert <alan.alpert@nokia.com> | 2010-11-04 01:05:14 (GMT) |
commit | bee2335bbb3cbfe0e2d1184ca22835b0cf15fb7b (patch) | |
tree | 736215b40696a702a73a2f3515138035ec34b002 /doc/src/declarative/dynamicobjects.qdoc | |
parent | 5ab0ad47ba216c851c21d7fee73a69d2a793ea65 (diff) | |
download | Qt-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/src/declarative/dynamicobjects.qdoc')
-rw-r--r-- | doc/src/declarative/dynamicobjects.qdoc | 6 |
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 { |