summaryrefslogtreecommitdiffstats
path: root/src/widgets/kernel/qwidgetwindow.cpp
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <bjorn@lindeijer.nl>2016-09-06 11:38:18 +0200
committerThorbjørn Lindeijer <bjorn@lindeijer.nl>2016-09-12 08:03:30 +0000
commit66fcd0cf6674fa96ede7776ca3afa786499a07ad (patch)
tree4d916b4a23b870831eb3ec2ed4b5d96cf922e8af /src/widgets/kernel/qwidgetwindow.cpp
parenta32217cb551612277d43b3f7c08da85abe3874ac (diff)
Fixed glitch when dragging a movable QTabBar tab
When you would start to drag a tab, and then drag it in the other direction along the point where you started the drag, the tab would fail to follow the mouse for a distance twice the "startDragDistance", before jumping to the mouse again. Fixed this by only taking into account the "startDragDistance" when checking whether a drag is started, and to rely on the "dragInProgress" variable otherwise. Change-Id: I5dd4ebd8340fef7e870f087be68c5097b49728cb Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Diffstat (limited to 'src/widgets/kernel/qwidgetwindow.cpp')
0 files changed, 0 insertions, 0 deletions