diff options
author | Bjørn Erik Nilsen <bjorn.nilsen@nokia.com> | 2009-06-04 18:58:34 (GMT) |
---|---|---|
committer | Andreas Aardal Hanssen <andreas.aardal.hanssen@nokia.com> | 2009-06-09 07:34:51 (GMT) |
commit | 9aa44bff88f377f056eafe5d9f24c88d81f477e5 (patch) | |
tree | 47e4779da2f16cfeba4bd780471ec48be1eff93d /tests/auto | |
parent | 4af92dcf716ee3c2fc4673aadd07fde19b7bffed (diff) | |
download | Qt-9aa44bff88f377f056eafe5d9f24c88d81f477e5.zip Qt-9aa44bff88f377f056eafe5d9f24c88d81f477e5.tar.gz Qt-9aa44bff88f377f056eafe5d9f24c88d81f477e5.tar.bz2 |
Removes odd artifact in the chip demo.
Calling repaint() instead of update() is bad when having multiple
views (which GV perfectly supports). The result is that e.g. when
moving a chip in the chip demo, there's a visible lag between
each view. It can also be a performance killer on QWS, where
the surface is locked for each repaint().
Instead of calling repaint() we call update() as before, but we also
make sure the updates are processed immediately.
Diffstat (limited to 'tests/auto')
0 files changed, 0 insertions, 0 deletions