qt5base-lts/tests/auto/widgets/itemviews
David Faure ba6e0e4aac QHeaderView: fix assert when restoring section sizes over less columns
If columns are removed and we get notified via layoutChanged, the code
tries to restore old section sizes, and went out of bounds, leading to
an assert in QVector. Simply add an if() to skip restoring out-of-bounds columns.

This comes from https://bugs.kde.org/show_bug.cgi?id=395181,
which translates into the unittest that is part of this commit.

Change-Id: Ide42176a758f87b21957c40508127d67f1d5a2d9
Reviewed-by: Christian Ehrlicher <ch.ehrlicher@gmx.de>
Reviewed-by: Thorbjørn Lund Martsum <tmartsum@gmail.com>
2019-04-23 09:42:54 +00:00
..
qabstractitemview Fix deprecation warnings in widget autotests 2019-02-08 18:00:51 +00:00
qcolumnview winrt: Make itemview auto tests pass 2018-06-22 05:02:44 +00:00
qdatawidgetmapper tests/auto/widgets: use QCOMPARE(., nullptr) 2016-11-30 07:24:47 +00:00
qdirmodel winrt: Make itemview auto tests pass 2018-06-22 05:02:44 +00:00
qfileiconprovider Updated license headers 2016-01-21 18:55:18 +00:00
qheaderview QHeaderView: fix assert when restoring section sizes over less columns 2019-04-23 09:42:54 +00:00
qitemdelegate Merge remote-tracking branch 'origin/5.12' into dev 2019-01-26 08:35:40 +01:00
qitemeditorfactory Updated license headers 2016-01-21 18:55:18 +00:00
qitemview Fix use of deprecated ItemDataRoles Background/TextColorRole 2018-11-05 21:58:37 +00:00
qlistview Merge remote-tracking branch 'origin/5.12' into 5.13 2019-02-28 01:00:15 +01:00
qlistwidget Fix deprecation warnings in widget autotests 2019-02-08 18:00:51 +00:00
qtableview Fix deprecation warnings in widget autotests 2019-02-08 18:00:51 +00:00
qtablewidget Fix deprecation warnings in widget autotests 2019-02-08 18:00:51 +00:00
qtreeview Merge remote-tracking branch 'origin/5.12' into 5.13 2019-02-28 01:00:15 +01:00
qtreewidget Fix deprecation warnings in widget autotests 2019-02-08 18:00:51 +00:00
qtreewidgetitemiterator QTreeWidget: mark (is|set)Item(Selected|Hidden|Expanded) as deprecated 2018-11-09 19:07:51 +00:00
itemviews.pro Remove references to obsolete platforms 2017-11-05 06:33:53 +00:00