diff options
author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2016-10-11 16:43:42 +0200 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2016-10-14 01:57:43 +0000 |
commit | d8c72f41548a01bf39f82e77da01a2be57a06d95 (patch) | |
tree | 4410ae85bd2ecfd718d9988229abdcc526639d2e /src/widgets/widgets/qdockwidget.cpp | |
parent | 815341dbec1fd4f04fe76fc438cc9b3308ffafe9 (diff) |
iOS: Take advantage of new synchronous API for QPA event delivery
By using the SynchronousDelivery specialization instead of flushing all
window system events, we remove the risk of flushing an event that was
added without our knowledge.
For example, QGuiApplicationPrivate::processMouseEvent() used to prepend
a mouse move event to the QPA queue, which is why we had a check for
QWidgetWindow when flushing geometry changes. processMouseEvent no longer
sends the move event via the QPA queue, so that's no longer an issue,
but if it were to be reintroduced, we wouldn't need to check for
QWidgetWindow, as we're not flushing all events anymore.
Change-Id: Ib346ea9501cd88ddda6c2137981d3eb0922192a0
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Diffstat (limited to 'src/widgets/widgets/qdockwidget.cpp')
0 files changed, 0 insertions, 0 deletions