summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code/src_script_qscriptclass.cpp
diff options
context:
space:
mode:
authorOlivier Goffart <olivier.goffart@nokia.com>2010-05-26 08:05:14 (GMT)
committerOlivier Goffart <olivier.goffart@nokia.com>2010-05-28 08:21:24 (GMT)
commit66d68138c6b21d249daad27c904c688b78d21af6 (patch)
tree47b59359145d7482c26a13cc7b81d6158a56f527 /doc/src/snippets/code/src_script_qscriptclass.cpp
parent8d267e8d7a1e3374558ed302cfa415788ca74e02 (diff)
downloadQt-66d68138c6b21d249daad27c904c688b78d21af6.zip
Qt-66d68138c6b21d249daad27c904c688b78d21af6.tar.gz
Qt-66d68138c6b21d249daad27c904c688b78d21af6.tar.bz2
Speedup destruction of QObject if the eventloop is not entered.
QObjectPrivate::removePendingChildInsertedEvents intoduce O(n^2) complexity. Remove this function and instead check the object has not been removed/reparented Known side effects: if the object would be parented multiple times to the same object, multiple QEvent::ChildInserted will be sends This would also create the QWeakPointer external refcount for almost each objects. Task-number: QTBUG-6546 Reviewed-by: Brad
Diffstat (limited to 'doc/src/snippets/code/src_script_qscriptclass.cpp')
0 files changed, 0 insertions, 0 deletions