aboutsummaryrefslogtreecommitdiff
path: root/demos
diff options
context:
space:
mode:
authorPeter Penz <ppenz@openismus.com>2010-07-15 16:04:43 +0200
committerSergiy Dubovik <sergiy.dubovik@nokia.com>2010-07-27 13:36:55 +0300
commitbcc182a806db94fa124aae7efae7c65289694538 (patch)
tree406768d6b4d4ba6a71bc63d216c0cedd36fdb919 /demos
parenta5834337f28f112ec7ff0a7a007cec536f2246ab (diff)
Changes: Block the painting in MWindow until the layouting has been finished
RevBy: Armin Berres Details: Because of the recent optimizations of the theme daemon, pending requests for images are very rare. So the approach to delay the showing of the window until all pending requests are done, is not sufficient anymore to prevent a flickering of applications during startup. The result is that the raw application window can be seen for a fraction of a second during startup. This patch fixes the issue by blocking the painting until QEvent::WindowActivate has been received. Additionally the if-else-if cascading in MWindow::event() has been replaced by a switch-command.
Diffstat (limited to 'demos')
0 files changed, 0 insertions, 0 deletions