path: root/src
diff options
authorMorten Johan Sørvig <>2013-04-22 13:11:29 +0200
committerThe Qt Project <>2013-05-23 12:49:39 +0200
commit5d07a4d9448f60139c711e592cbf3ac47d4df3d7 (patch)
tree4a7310a5901e086af1cd69e585c3afeecfccf20e /src
parentb2cce40b3059e01f95bed8cb2be0059b343b670c (diff)
Process initial expose events immediately.
Required to prevent qmlscene flicker on startup. Also brings back that qWait() in tst_QGL::graphicsViewClipping() that seems necessary after all. Amended-by: Gabriel de Dietrich <> Change-Id: I14ba6e18ac98e5df1ce8ecbc263b30176b67d111 Reviewed-by: Gabriel de Dietrich <> Reviewed-by: Gunnar Sletta <>
Diffstat (limited to 'src')
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/platforms/cocoa/ b/src/plugins/platforms/cocoa/
index 83678ddf67..94904c12f6 100644
--- a/src/plugins/platforms/cocoa/
+++ b/src/plugins/platforms/cocoa/
@@ -320,6 +320,7 @@ void QCocoaWindow::setVisible(bool visible)
// - QNSViews for child windows are initialy not hidden and won't get the
// viewDidUnhide message.
+ QWindowSystemInterface::flushWindowSystemEvents();
if (m_nsWindow) {
// setWindowState might have been called while the window was hidden and