aboutsummaryrefslogtreecommitdiffstats
path: root/src/qmlmodels
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@qt.io>2019-11-18 16:32:25 +0100
committerMitch Curtis <mitch.curtis@qt.io>2019-11-23 15:41:18 +0100
commitfad8ef3e4133538e3785d7067c35c652bc894711 (patch)
treeca0d85658bbe52faf5460725e7698b58032b9461 /src/qmlmodels
parentacb6ed0815f92588c3ff875a568e9561fe61218c (diff)
mouseDrag(): ensure that intermediate moves are done for all drags
The code checking if the intermediate move distance was less than the drag threshold, but without accounting for negative distances. Since the negative distances were naturally less than the drag threshold, the intermediate distances were set to zero and the intermediate moves were never done. In practice, this means that mouseDrag() never did intermediate moves (i.e. what happens during a drag in real life) for drags that go from right to left or upwards. Task-number: QTBUG-80152 Change-Id: Ic27021f5ce5ba2937e95fb2dfb532bd2136f4205 Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
Diffstat (limited to 'src/qmlmodels')
0 files changed, 0 insertions, 0 deletions