Synchronize PathView gesture grabbing with other items.
authorMartin Jones <martin.jones@jollamobile.com>
Wed, 23 Jul 2014 06:07:31 +0000 (16:07 +1000)
committerMartin Jones <martin.jones@jollamobile.com>
Tue, 5 Aug 2014 23:35:56 +0000 (01:35 +0200)
commitc85bfba382ca1ddf0573c8f59e95b25f804b83ff
treeff08c61e9fc017ba267bc387f377c4299d60b664
parent89a01dcbc2d427e661c19d50c5b875b1dc54b2f9
Synchronize PathView gesture grabbing with other items.

PathView didn't attempt to grab the gesture at the same event as other
items. This prevented PathView from rightfully claiming the gesture
before lower items in the stack. Use the same threshold test for
PathView as used elsewhere.

Task-number: QTBUG-37859
Change-Id: Ic57cb805ac979e41c3e35d86b2e7db781e61d69d
Reviewed-by: Martin Jones <martin.jones@jollamobile.com>
src/quick/items/qquickpathview.cpp
src/quick/items/qquickpathview_p_p.h
tests/auto/quick/qquickpathview/data/flickableDelegate.qml [new file with mode: 0644]
tests/auto/quick/qquickpathview/data/nestedInFlickable.qml [moved from tests/auto/quick/qquickpathview/data/incorrectSteal.qml with 100% similarity]
tests/auto/quick/qquickpathview/tst_qquickpathview.cpp