qt5base-lts/tests/auto
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
..
cmake Use IF(NOT TARGET ...) before creating imported targets. 2012-05-15 23:03:23 +02:00
compilerwarnings/data Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
concurrent Remove insignification from QtConcurrentFilter test. 2012-04-19 13:26:51 +02:00
corelib Allow ISODate string without seconds in QTime::fromString(). 2012-06-08 00:55:27 +02:00
dbus Fix unit confusion in ccf3b9e48b2d773999a9a88e249f79380618cde6 2012-05-02 22:49:26 +02:00
gui Make qfont autotest build without widgets 2012-06-08 08:31:14 +02:00
guiapplauncher Update the documentation after moving examples. 2011-07-05 21:19:08 +02:00
network Make QIODevice::seek() return false for sequential files. 2012-06-05 13:12:58 +02:00
opengl Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
other Make "other" autotests build without widgets 2012-06-07 07:24:31 +02:00
printsupport QtPrintSupport - Add QPrinterInfo api for more printer details 2012-05-29 23:48:15 +02:00
shared Expose QPA API under qpa/* 2012-05-07 20:25:24 +02:00
sql Make sql autotests build without widgets 2012-06-07 07:25:27 +02:00
testlib Make tst_selftests parallel-safe. 2012-05-29 09:39:18 +02:00
tools Replace QTEST_APPLESS_MAIN with QTEST_MAIN in tests using QProcess 2012-06-05 06:12:20 +02:00
widgets Fix crash in QTreeWidgetItem::sortChildren when adding new item. 2012-06-08 18:09:07 +02:00
xml Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
auto.pro Don't build printsupport autotests when widgets aren't available 2012-06-07 07:24:01 +02:00
network-settings.h Fix auto tests build with gcc 4.7 2012-05-23 00:42:20 +02:00
platformquirks.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
test.pl Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00