qt5base-lts/tests/auto/widgets
Jani Honkonen a85d15259c Fix QListView::scrollTo() when there are hidden rows
This is a cherry-pick of b0601630dd0ddabfaa3b97d042ee02b981d95988
from February

QListView does not consider hidden rows when scrolling to an item.
If there are hidden rows (or columns) before the selected item then
the visual index of an item is not the same as the row index
from the model. So scrolling will be off by the number of hidden
rows before the selected item.

Added a autotest for this also.

Task-number: QTBUG-21115
Change-Id: I01b097bce7f163cdb480a71b763c060cc006fdc7
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
2012-06-14 10:11:26 +02:00
..
dialogs Make tst_qfiledialog2 closer to parallel-safe. 2012-05-29 09:39:18 +02:00
effects Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
graphicsview Set explicit testcase.timeout for slow tests 2012-05-29 09:39:18 +02:00
itemviews Fix QListView::scrollTo() when there are hidden rows 2012-06-14 10:11:26 +02:00
kernel Only quit if there are no visible widgets or windows. 2012-06-12 04:30:18 +02:00
styles Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
util Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
widgets Use QPointer instead of QWeakPointer. 2012-06-05 18:42:26 +02:00
widgets.pro Moved tests into integrationtests/ and widgets/ 2011-10-20 19:45:41 +02:00