diff options
author | Andrew den Exter <andrew.den.exter@qinetic.com.au> | 2015-03-09 16:47:16 +1000 |
---|---|---|
committer | Andrew den Exter <andrew.den.exter@qinetic.com.au> | 2015-03-11 02:54:37 +0000 |
commit | 61cfaee2d0e4ae106a00950e917b712a52049d6f (patch) | |
tree | b3d63cccd27862789e5b1df3496eafa21afc5ec7 /tests/auto/quick/qquickpathview/tst_qquickpathview.cpp | |
parent | d517346086226493e63ffd1b92bae4fb86ed3024 (diff) |
Fix flickable stealing gestures when height >= contentHeight.
Or width >= contentWidth.
If newY is equal to both maxY and minY then the second assignment to
rejectY can clobber the first. Changing the second assignment to an
|= means rejectY is true if either is true.
Secondly maxY became positive when height was greater than contentHeight
instead of having a maximum of 0, which ensured rejectY evaluated to false
in the case newY <= maxY and the mouse was stolen.
Change-Id: I6416d0e23c3ef898887a7b3e3fcdc1dc12853548
Reviewed-by: Martin Jones <martin.jones@qinetic.com.au>
Diffstat (limited to 'tests/auto/quick/qquickpathview/tst_qquickpathview.cpp')
0 files changed, 0 insertions, 0 deletions