MouseArea shouldn't grab the mouse until there is an effective drag.
authorAndrew den Exter <andrew.den.exter@jollamobile.com>
Fri, 15 Feb 2013 11:29:32 +0000 (21:29 +1000)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 22 Feb 2013 01:10:21 +0000 (02:10 +0100)
commit7a1282a9edd8afa4645d7d449ca2ed3746fb8d71
tree5c6c9f1dd46bfbd55ad8c508581ae631e3ecce22
parentb939bc6300d79862340ff35dc8910663bda5744f
MouseArea shouldn't grab the mouse until there is an effective drag.

A MouseArea shouldn't prevent a parent MouseArea or Flickable from
handling a drag event unless it is going to do something useful with
it.

Task-number: 29717
Change-Id: I24016994f6cf9116382ef7faeb50b10e5716e10e
Reviewed-by: Alan Alpert <aalpert@rim.com>
src/quick/items/qquickmousearea.cpp
tests/auto/quick/qquickmousearea/data/nestedStopAtBounds.qml [new file with mode: 0644]
tests/auto/quick/qquickmousearea/tst_qquickmousearea.cpp