diff options
author | Olivier Goffart <ogoffart@trolltech.com> | 2010-02-03 17:00:24 (GMT) |
---|---|---|
committer | Olivier Goffart <ogoffart@trolltech.com> | 2010-02-04 09:21:32 (GMT) |
commit | 188c2ef11e92d04dcf334309c85a7f1b14945aaa (patch) | |
tree | f25391e9b903c82dd426eb299cb7e66b3a9b8de7 /src/gui/kernel/qdrag.h | |
parent | 5cff63b217118e087a6cbd1f27c2a28be83374bb (diff) | |
download | Qt-188c2ef11e92d04dcf334309c85a7f1b14945aaa.zip Qt-188c2ef11e92d04dcf334309c85a7f1b14945aaa.tar.gz Qt-188c2ef11e92d04dcf334309c85a7f1b14945aaa.tar.bz2 |
QHeaderView: fixes sectionClicked() emitted with wrong section index
The obvious fix is to use the previsously computed 'section' as paramatter.
(It is even faster)
But one might wonder why logicalIndexAt() does not return the same result
before and after flipSortIndicator(). The reason is that while being
sorted, in _q_layoutChanged, all the hidden section where unhidden and hidden
again. Leaving some pending computation.
Task-number: QTBUG-7833
Reviewed-by: Gabriel
Diffstat (limited to 'src/gui/kernel/qdrag.h')
0 files changed, 0 insertions, 0 deletions