diff options
| author | Bjørn Erik Nilsen <bjorn.nilsen@nokia.com> | 2010-01-13 15:44:57 (GMT) |
|---|---|---|
| committer | Bjørn Erik Nilsen <bjorn.nilsen@nokia.com> | 2010-01-21 15:23:58 (GMT) |
| commit | 474e0dce59e827e4dd502bf12e7817b2602fb2c3 (patch) | |
| tree | 03212dc59df58090a1e140fff2542a1a8ae9d6fc /doc/src/snippets/code/src_script_qscriptengineagent.cpp | |
| parent | 06ee48f7ad7f5ab8bdbaed765d301fa2c0b417fb (diff) | |
| download | Qt-474e0dce59e827e4dd502bf12e7817b2602fb2c3.zip Qt-474e0dce59e827e4dd502bf12e7817b2602fb2c3.tar.gz Qt-474e0dce59e827e4dd502bf12e7817b2602fb2c3.tar.bz2 | |
Improve performance of QGraphicsItem::setParentItem.
The biggest optimization here is "updateAncestorFlags()". It's much
faster to update all the flags rather than trying to enable/disable
certain flags according to the current state.
Task-number: QTBUG-6877
Reviewed-by: alexis
Diffstat (limited to 'doc/src/snippets/code/src_script_qscriptengineagent.cpp')
0 files changed, 0 insertions, 0 deletions
