diff options
author | Bjørn Erik Nilsen <bjorn.nilsen@nokia.com> | 2010-01-22 16:25:38 (GMT) |
---|---|---|
committer | Prasanth Ullattil <prasanth.ullattil@nokia.com> | 2010-01-27 15:30:25 (GMT) |
commit | 9f8272b979be69574ae7e5211219363b03d23316 (patch) | |
tree | 6a9fa19584950e9cde57254b16dab9848bc02196 /src/s60main | |
parent | 4bcc8a24129b69efa1217dd033f0af949df0bcb9 (diff) | |
download | Qt-9f8272b979be69574ae7e5211219363b03d23316.zip Qt-9f8272b979be69574ae7e5211219363b03d23316.tar.gz Qt-9f8272b979be69574ae7e5211219363b03d23316.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 'src/s60main')
0 files changed, 0 insertions, 0 deletions