Fixup QGuiApplication::sync to flush the QWSI queue
Change-Id: If4cedeb886e912f622a66b2b3374d6260cffc32a Reviewed-by: Laszlo Agocs <laszlo.agocs@digia.com>bb10
parent
cb8e33fc0f
commit
82d2d9b3cc
|
|
@ -3002,6 +3002,7 @@ void QGuiApplication::sync()
|
|||
&& QGuiApplicationPrivate::platform_integration->hasCapability(QPlatformIntegration::SyncState)) {
|
||||
QGuiApplicationPrivate::platform_integration->sync();
|
||||
QCoreApplication::processEvents();
|
||||
QWindowSystemInterface::flushWindowSystemEvents();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue