aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlvmemetaobject.cpp
diff options
context:
space:
mode:
authorDoris Verria <doris.verria@qt.io>2023-04-18 15:47:43 +0200
committerMitch Curtis <mitch.curtis@qt.io>2023-05-02 10:12:35 +0000
commitf6fb9252c6af824ee4544b34a039c20872c5b4ed (patch)
tree082a78de2319bf226c8ce2842e0196f2dcdf387d /src/qml/qml/qqmlvmemetaobject.cpp
parent6f06068db851aa35148369f50782ab6537f7090d (diff)
RangeSlider: Don't update position only if mouse/touch is grabbed
A mouseClick will cause the RangeSlider handle to move to the click position and we should expect the same for a touch press. We update the position of the handle in handleRelease if keepMouse/ TouchGrab is set to true. However, we don't grab the touch on a touch press in case eg.: a flickable wants to steal the event. So we can remove the check as we shouldn't update the position only if grabbed. This makes the behavior similar to the slider too. Fixes: QTBUG-112945 Pick-to: 6.5 6.2 5.15 Change-Id: Id2cf99416a52b5e42989a4adda1532e3ac550a93 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/qml/qml/qqmlvmemetaobject.cpp')
0 files changed, 0 insertions, 0 deletions