qt5base-lts/tests/auto/widgets/itemviews
Jiewen Wang 3be6ca3ee8 Eliminate QTreeWidget drag crash
In QTreeViewPrivate::adjustViewOptionsForIndex() wrong index had been
used when referencing to array of viewItems. Variable row is set to the
index of the QModelIndex, however it is not as same as the index in
viewItems[] when there was hidden item in treeWidget. Index of viewItems[]
should be used here. Unit test is added as well.

Change-Id: Idc7eda979e7d09c5a07bd6dffd92b7abbac10e67
Task-Id: QTBUG-25333
Reviewed-by: Girish Ramakrishnan <girish.1.ramakrishnan@nokia.com>
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
2012-05-28 16:49:56 +02:00
..
qabstractitemview Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
qcolumnview Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
qdatawidgetmapper Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
qdirmodel Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qfileiconprovider Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
qheaderview Rename setResizeMode to setSectionResizeMode. 2012-05-07 17:55:47 +02:00
qitemdelegate Remove capitalization when specifying include-libraries. 2012-05-14 21:34:08 +02:00
qitemeditorfactory Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
qitemview Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
qlistview Expose QPA API under qpa/* 2012-05-07 20:25:24 +02:00
qlistwidget QWindowsBackingStore: Implement scroll. 2012-05-21 16:02:06 +02:00
qstandarditem Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
qstandarditemmodel Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
qtableview Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
qtablewidget Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
qtreeview Eliminate QTreeWidget drag crash 2012-05-28 16:49:56 +02:00
qtreewidget Merge QStyleOption*V{2,3,4} classes together 2012-02-02 20:18:55 +01:00
qtreewidgetitemiterator Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
itemviews.pro Move proxy and selection models to QtCore. 2011-12-16 13:00:57 +01:00