diff options
author | Bjørn Erik Nilsen <bjorn.nilsen@nokia.com> | 2010-02-03 18:39:17 (GMT) |
---|---|---|
committer | Jesper Thomschutz <jesper.thomschutz@nokia.com> | 2010-02-09 12:57:18 (GMT) |
commit | a8d20dc4f4009b9d3476aa0e97360cf5101063d2 (patch) | |
tree | 37ad41fafd9250c8360eb9f6ec84161ecdef65fe /doc/src/snippets/code/src_sql_kernel_qsqlquery.cpp | |
parent | e131bf6c1cfd4b0bf3290e36d4c91e1829914ffc (diff) | |
download | Qt-a8d20dc4f4009b9d3476aa0e97360cf5101063d2.zip Qt-a8d20dc4f4009b9d3476aa0e97360cf5101063d2.tar.gz Qt-a8d20dc4f4009b9d3476aa0e97360cf5101063d2.tar.bz2 |
QGraphicsWidget is painted twice on the first show.
We want to discard all update requests when we there's a full update
pending. The problem was that 'updateAll' was reset too early causing
update requests to fall through. To prevent this from happening we
reset 'updateAll' right before the items are actually painted.
Auto-test included.
Task-number: QTBUG-6956
(cherry picked from commit dda8a57c085216db609f822837c50bae38006b4e)
Diffstat (limited to 'doc/src/snippets/code/src_sql_kernel_qsqlquery.cpp')
0 files changed, 0 insertions, 0 deletions