Fixup QGuiApplication::sync to flush the QWSI queue

Change-Id: If4cedeb886e912f622a66b2b3374d6260cffc32a
Reviewed-by: Laszlo Agocs <laszlo.agocs@digia.com>
bb10
Jorgen Lind 2014-04-03 12:06:40 +02:00 committed by The Qt Project
parent cb8e33fc0f
commit 82d2d9b3cc
1 changed files with 1 additions and 0 deletions

View File

@ -3002,6 +3002,7 @@ void QGuiApplication::sync()
&& QGuiApplicationPrivate::platform_integration->hasCapability(QPlatformIntegration::SyncState)) {
QGuiApplicationPrivate::platform_integration->sync();
QCoreApplication::processEvents();
QWindowSystemInterface::flushWindowSystemEvents();
}
}