summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code/src_sql_kernel_qsqldatabase.cpp
diff options
context:
space:
mode:
authorBjørn Erik Nilsen <bjorn.nilsen@nokia.com>2010-01-13 15:44:57 (GMT)
committerPrasanth Ullattil <prasanth.ullattil@nokia.com>2010-01-27 15:30:19 (GMT)
commit1ace126b121bdec0a54aef808cca749e2ef04acd (patch)
tree784a5ad72e2faae663a7edde19aa2066212493a4 /doc/src/snippets/code/src_sql_kernel_qsqldatabase.cpp
parent9fa39653a42e1e29f83ce272de746bf1441c3800 (diff)
downloadQt-1ace126b121bdec0a54aef808cca749e2ef04acd.zip
Qt-1ace126b121bdec0a54aef808cca749e2ef04acd.tar.gz
Qt-1ace126b121bdec0a54aef808cca749e2ef04acd.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_sql_kernel_qsqldatabase.cpp')
0 files changed, 0 insertions, 0 deletions