diff options
| author | Axel Spoerl <axel.spoerl@qt.io> | 2023-06-13 12:12:43 +0200 |
|---|---|---|
| committer | Axel Spoerl <axel.spoerl@qt.io> | 2023-06-14 16:18:55 +0200 |
| commit | 787b4c1506aba7e83d861e178329a18c6ec34322 (patch) | |
| tree | e9a409ad5a1c9d773c3f6a47ef725bed5df07897 /src/gui/opengl/qopenglprogrambinarycache.cpp | |
| parent | 4e74fa811907ba981304bed27b093d67106e9986 (diff) | |
QHeaderView: use correct mouse position for auto scroll
QHeaderView::mouseMoveEvent started autoscroll without propagating the
event's mouse position to QAbstractItemViewPrivate::draggedPosition.
This data member always containing QPoint() has lead to right drags not
causing an autoscroll at all. Left drags with a scroll offset just
kept scrolling until the offset was 0.
The missing propagation has been added.
As a drive by, dead code has been removed and the local variable pos
has been constified.
Fixes: QTBUG-113573
Pick-to: 6.6 6.5
Change-Id: I7b194dfc71abea6f2bbaaae18270c80eb15afb4d
Reviewed-by: Oliver Eftevaag <oliver.eftevaag@qt.io>
Diffstat (limited to 'src/gui/opengl/qopenglprogrambinarycache.cpp')
0 files changed, 0 insertions, 0 deletions
