summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code/src_sql_kernel_qsqldriver.cpp
diff options
context:
space:
mode:
authorBjørn Erik Nilsen <bjorn.nilsen@nokia.com>2010-01-22 16:25:38 (GMT)
committerJesper Thomschutz <jesper.thomschutz@nokia.com>2010-01-28 15:43:00 (GMT)
commit7d6200451d0e81430267165a1a5c0d64fb26bae2 (patch)
treeea0fc5c5eb3aa910c0cea5a7aaf5df90c58c1b81 /doc/src/snippets/code/src_sql_kernel_qsqldriver.cpp
parent97e090ed2af4b2def71f88d7764152fbdb911e03 (diff)
downloadQt-7d6200451d0e81430267165a1a5c0d64fb26bae2.zip
Qt-7d6200451d0e81430267165a1a5c0d64fb26bae2.tar.gz
Qt-7d6200451d0e81430267165a1a5c0d64fb26bae2.tar.bz2
Potential crash when adding items from QGraphicsWidget::polishEvent().
These were processed immediately, so there was a fair chance that we could end up doing a virtual function call on items that were not fully constructed. This patch is also an optimization, since we never remove anything from the vector. Auto-test included. Reviewed-by: Jan-Arve
Diffstat (limited to 'doc/src/snippets/code/src_sql_kernel_qsqldriver.cpp')
0 files changed, 0 insertions, 0 deletions