diff options
author | Gabriel de Dietrich <gabriel.dietrich-de@nokia.com> | 2009-10-20 08:39:42 (GMT) |
---|---|---|
committer | Gabriel de Dietrich <gabriel.dietrich-de@nokia.com> | 2009-10-20 08:53:12 (GMT) |
commit | 6c1388ee5a3c4796d7ce09f0cbbc1700ab574ce4 (patch) | |
tree | 63e4e72a6e74ddb58c44656937b9edbe5d5a4411 /src/gui/itemviews/qlistview_p.h | |
parent | e87b66fc81600e43eb1b9696c6e97d6c4ff4ab90 (diff) | |
download | Qt-6c1388ee5a3c4796d7ce09f0cbbc1700ab574ce4.zip Qt-6c1388ee5a3c4796d7ce09f0cbbc1700ab574ce4.tar.gz Qt-6c1388ee5a3c4796d7ce09f0cbbc1700ab574ce4.tar.bz2 |
Fixed wrong scrolling in QListView with hidden rows in ListMode
The flow positions in ScrollPerItem mode did not take the hidden rows into
account when configuring the vertical scroll bar.
A mapping between the scroll bar value and the flow position has been
added. Auto-test included.
Task-number: QTBUG-2233
Reviewed-by: Thierry
Diffstat (limited to 'src/gui/itemviews/qlistview_p.h')
-rw-r--r-- | src/gui/itemviews/qlistview_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/itemviews/qlistview_p.h b/src/gui/itemviews/qlistview_p.h index b6785da..de4c7f3 100644 --- a/src/gui/itemviews/qlistview_p.h +++ b/src/gui/itemviews/qlistview_p.h @@ -205,6 +205,7 @@ public: QVector<int> segmentPositions; QVector<int> segmentStartRows; QVector<int> segmentExtents; + QVector<int> scrollValueMap; // used when laying out in batches int batchSavedPosition; |