diff options
author | Thorbjørn Lund Martsum <tmartsum@gmail.com> | 2012-11-01 16:33:25 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-11-02 16:25:22 +0100 |
commit | d625535728154fc9ca576bf6472c6b5057a96f17 (patch) | |
tree | 570fe22e22a0921356e95583a3942606e398038b /tools | |
parent | aa2578a1006f17cff50ca39090bae2e1e090b59b (diff) |
QHeaderView 5.0 - correct drop on manual QHeaderView sectionmove
This fixes an error in the calculation of the exact drop position
when an user is moving a section in QHeaderView.
Before we compared a mouse-position local to the widget
(pos) with a summed length of sections (posThreshold).
However we need to consider/substract the headers offset to make
the posThreshold comparable to the local mouse position.
This solves e.g.
Task-number: QTBUG-14814
Change-Id: If0281cf0c7b98316474f18e8eaa32c6d062dda56
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions