MouseArea shouldn't grab the mouse until there is an effective drag.
authorAndrew den Exter <andrew.den.exter@jollamobile.com>
Sat, 16 Feb 2013 07:59:50 +0000 (17:59 +1000)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 22 Feb 2013 01:53:35 +0000 (02:53 +0100)
commit67db779665b1d95a20720c0dee058c47f7df8726
treee8a7fc3b94304c31438cd86c9271e4a0e71c63e2
parentf7680b55f0d1d1ef102d40166f74cf4eee605e44
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: QTBUG-29717
Change-Id: I17caa51ebc2e547e73e727fd185e60644591ad2b
Reviewed-by: Alan Alpert <aalpert@rim.com>
src/declarative/graphicsitems/qdeclarativemousearea.cpp
tests/auto/declarative/qdeclarativemousearea/data/nestedStopAtBounds.qml [new file with mode: 0644]
tests/auto/declarative/qdeclarativemousearea/tst_qdeclarativemousearea.cpp