Guard against event recursion in QQuickDrag.
authorAndrew den Exter <andrew.den-exter@nokia.com>
Fri, 27 Jan 2012 04:56:07 +0000 (14:56 +1000)
committerQt by Nokia <qt-info@nokia.com>
Wed, 1 Feb 2012 07:37:49 +0000 (08:37 +0100)
commit94c85b4e0b449c8a29e17c5aadea243d3d35da77
tree404f5ee3e4052ad70f4c783a938fd3ee8f8ead4d
parent331ea0aee6d0bb54625b25a6c8d2e59d2378fd50
Guard against event recursion in QQuickDrag.

Do not emit drag events recursively as this will send events out of
order and corrupt the grab stack.

Change-Id: Ieede7123c96304e23c809ac895318ed76c8c95c1
Reviewed-by: Martin Jones <martin.jones@nokia.com>
src/quick/items/qquickdrag.cpp
src/quick/items/qquickdrag_p.h
tests/auto/qtquick2/qquickdrag/tst_qquickdrag.cpp