Add a QWindow autotest case for reentrant mouse/touch events
authorLaszlo Agocs <laszlo.p.agocs@nokia.com>
Mon, 23 Apr 2012 13:18:01 +0000 (16:18 +0300)
committerQt by Nokia <qt-info@nokia.com>
Tue, 24 Apr 2012 17:36:55 +0000 (19:36 +0200)
commit229343d5fc1dbfcbe4b07674ec030d30e065bf0e
tree4decf526d62ac2874946035301b93cb3721bd2a1
parent4deaef6979b6904163b9fe2fe1ff34c0753cc947
Add a QWindow autotest case for reentrant mouse/touch events

Declarative used to have some issues when the MouseArea event handlers
spinned the event loop: subsequent mouse events were all lost. Let's
add an autotest also for QGuiApplication to make sure the same problem
won't occur there.

Change-Id: If5c3b4f58dad609efb302d2ca932493680ffdf13
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
tests/auto/gui/kernel/qwindow/tst_qwindow.cpp