aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@qt.io>2016-11-23 17:14:14 +0100
committerMitch Curtis <mitch.curtis@qt.io>2016-11-24 14:19:59 +0000
commitaa06a424c5b40d7961a3928e12e59a0aff855675 (patch)
tree797afe809ebf7fc61c2ebd929f5e12c8ddce62be /src/imports
parent2e5c411c26c0c173516b61569df375d767253efd (diff)
SwipeDelegate: fix swipes that begin over a child item of a delegate
If the mouse was pressed over a child item of the delegate, the event's position will be for that item, rather than the entire control. To fix this, we need to set the correct pressPoint. To avoid duplicating QQuickAbstractButton::mousePressEvent()'s code, we simply set the correct pressPoint after calling it in QQuickSwipeDelegatePrivate::handleMousePressEvent(). Task-number: QTBUG-57271 Change-Id: I7204d6176c755512eeeb0b1a57a920fbab40392c Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
Diffstat (limited to 'src/imports')
0 files changed, 0 insertions, 0 deletions