Change the repaint() call to an update().
authorFabien Freling <fabien.freling@nokia.com>
Tue, 3 May 2011 12:28:56 +0000 (14:28 +0200)
committerFabien Freling <fabien.freling@nokia.com>
Tue, 10 May 2011 09:45:33 +0000 (11:45 +0200)
commitdaf37954617330e5840678292aaa82ceab6259df
tree37b90d6187661a2232b7f0619dd2087c4aaacdf0
parent1dab1ce6af149a1a9b3cc1be7aeb7a09bfd56b19
Change the repaint() call to an update().

In show_sys(), if we directly call repaint() this
will triggers too many UpdateRequest events.
This fixes the qwidget autotest
"compatibilityChildInsertedEvents".

Reviewed-by: Richard Moe Gustavsen
(cherry picked from commit 747962e6ec20a59b7e2ed67c5cd685258f199a86)
src/gui/kernel/qwidget_mac.mm