qt5base-lts/tests/auto
Giuseppe D'Angelo bdcbbd7d5b QTreeWidgetItem::insertChildren: ignore out of bounds indexes
QTreeWidgetItem::insertChildren should behave like a more-optimized
QTreeWidgetItem::insertChild. Unlike the latter, the former lacks
out-of-bounds checks, resulting in successful insertions even
when using an invalid index (say, bigger than the row/column count).
Reintroduce some sanity checks instead. This allows to fix a "fixme"
left in the autotest.

[ChangeLog][QtWidgets][QTreeWidgetItem] QTreeWidgetItem::insertChildren
now ignores insertions happening at invalid indices, for
consistency with QTreeWidgetItem::insertChild.

Change-Id: I1532597768cc6aff96a6e8f356bc6075b582801d
Reviewed-by: Thorbjørn Lund Martsum <tmartsum@gmail.com>
2017-11-30 13:01:45 +00:00
..
android
bic/data Update binary compatibility files for Qt 5.9.0 for QtBase 2017-08-14 13:48:17 +00:00
cmake CMake: Set SKIP_AUTOMOC/AUTOUIC where needed 2017-11-22 13:51:30 +00:00
compilerwarnings/data
concurrent Merge remote-tracking branch 'origin/5.10' into dev 2017-11-23 09:36:03 +01:00
corelib Merge "Merge remote-tracking branch 'origin/5.10' into dev" into refs/staging/dev 2017-11-30 12:57:22 +00:00
dbus Use QSharedPointer::create() more 2017-07-19 13:40:42 +00:00
gui Merge remote-tracking branch 'origin/5.10' into dev 2017-11-23 09:36:03 +01:00
guiapplauncher
installed_cmake
network Merge "Merge remote-tracking branch 'origin/5.10' into dev" into refs/staging/dev 2017-11-30 12:57:22 +00:00
opengl Change almost all other uses of qrand() to QRandomGenerator 2017-11-08 09:14:03 +00:00
other Merge remote-tracking branch 'origin/5.10' into dev 2017-11-23 09:36:03 +01:00
printsupport Convert features.completer to QT_[REQUIRE_]CONFIG 2017-09-04 11:28:02 +00:00
shared Remove workaround for potentially unavailable pasteboard in macOS 2017-03-07 01:04:46 +00:00
sql Merge remote-tracking branch 'origin/5.10' into dev 2017-11-23 09:36:03 +01:00
testlib Merge remote-tracking branch 'origin/5.10' into dev 2017-11-23 09:36:03 +01:00
tools Remove references to obsolete platforms 2017-11-05 06:33:53 +00:00
widgets QTreeWidgetItem::insertChildren: ignore out of bounds indexes 2017-11-30 13:01:45 +00:00
xml tst_qxmlsimplereader::inputFromSocket - fix race condition(s) 2017-11-06 19:14:41 +00:00
auto.pro Skip d-bus tests also on armv7 2017-11-04 18:42:36 +00:00
network-settings.h