qt5base-lts/tests/auto/widgets
Markku Heikkila 9e75354aab Fix crash in QTreeWidgetItem::sortChildren when adding new item.
This is a cherry-pick of 4f388c383e39b598d997e21bd9a4f16d89bd0625
from February

Recursive call is caused if user code calls QtreeWidgetItem()::sortChildren and
sorting is enbled in QTreeWidget.

First call is from user code and second is caused by timer.
When timer expires second call is made.

This recursion is prevented with QTreeModel::SkipSorting skipSorting()
in QTreeWidgetItem::sortChildren();

Task-number: QTBUG-20345
Change-Id: Ibf73e69274423f31397a9e391bfba7d5c4103a3c
Reviewed-by: Markku Tapio Heikkilä <markku.heikkila@digia.com>
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
2012-06-08 18:09:07 +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 crash in QTreeWidgetItem::sortChildren when adding new item. 2012-06-08 18:09:07 +02:00
kernel Add QDeferredDeleteEvent 2012-06-05 06:14:16 +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