qt6-bb10/tests/auto/corelib/tools
Andrei Golubev 6512a7fc64 Restore pre-Qt6 QList::fill() behavior
Somehow QList::fill(t, newSize) introduced a regression in Qt6:
when newSize < QList::size() we should resize to the newSize.
This is aligned with QVector::fill() in 5.15 and std::vector::assign()

While 6.0 is already out, picking it to 6.0.x could save someone who
haven't migrated yet as well as fix some accidental bugs in Qt's code

[ChangeLog][QtCore][QList] Fixed QList::fill() regression introduced in
6.0: calling fill() with size < current list size wouldn't truncate the
list

Fixes: QTBUG-91042
Pick-to: 6.0 6.1
Change-Id: Ic166e2c5e42390b61df1030f7c705e344433f7f2
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
2021-02-10 10:36:59 +01:00
..
collections Remove .prev_CMakeLists.txt files 2021-01-12 20:59:13 +01:00
containerapisymmetry Remove the qmake project files 2021-01-07 15:32:28 +01:00
qalgorithms Remove the qmake project files 2021-01-07 15:32:28 +01:00
qarraydata Purge various BLACKLIST entries that are now fixed 2021-02-02 10:40:44 +01:00
qbitarray Remove the qmake project files 2021-01-07 15:32:28 +01:00
qcache QCache: when overwriting, store the new cost instead of the delta 2021-01-14 10:00:01 +00:00
qcommandlineparser Remove the qmake project files 2021-01-07 15:32:28 +01:00
qcontiguouscache Remove the qmake project files 2021-01-07 15:32:28 +01:00
qcryptographichash Remove the qmake project files 2021-01-07 15:32:28 +01:00
qduplicatetracker Remove the qmake project files 2021-01-07 15:32:28 +01:00
qeasingcurve Remove the qmake project files 2021-01-07 15:32:28 +01:00
qexplicitlyshareddatapointer Remove the qmake project files 2021-01-07 15:32:28 +01:00
qflatmap Remove the qmake project files 2021-01-07 15:32:28 +01:00
qfreelist Remove the qmake project files 2021-01-07 15:32:28 +01:00
qhash Remove .prev_CMakeLists.txt files 2021-01-12 20:59:13 +01:00
qhashfunctions Remove the qmake project files 2021-01-07 15:32:28 +01:00
qline Remove the qmake project files 2021-01-07 15:32:28 +01:00
qlist Restore pre-Qt6 QList::fill() behavior 2021-02-10 10:36:59 +01:00
qmacautoreleasepool Remove the qmake project files 2021-01-07 15:32:28 +01:00
qmakearray Remove the qmake project files 2021-01-07 15:32:28 +01:00
qmap Remove .prev_CMakeLists.txt files 2021-01-12 20:59:13 +01:00
qmargins Remove the qmake project files 2021-01-07 15:32:28 +01:00
qmessageauthenticationcode Remove the qmake project files 2021-01-07 15:32:28 +01:00
qoffsetstringarray Remove the qmake project files 2021-01-07 15:32:28 +01:00
qpair Remove the qmake project files 2021-01-07 15:32:28 +01:00
qpoint Remove the qmake project files 2021-01-07 15:32:28 +01:00
qpointf Remove the qmake project files 2021-01-07 15:32:28 +01:00
qqueue Remove the qmake project files 2021-01-07 15:32:28 +01:00
qrect Remove the qmake project files 2021-01-07 15:32:28 +01:00
qringbuffer Remove the qmake project files 2021-01-07 15:32:28 +01:00
qscopedpointer Remove the qmake project files 2021-01-07 15:32:28 +01:00
qscopedvaluerollback Remove the qmake project files 2021-01-07 15:32:28 +01:00
qscopeguard Remove the qmake project files 2021-01-07 15:32:28 +01:00
qset Remove .prev_CMakeLists.txt files 2021-01-12 20:59:13 +01:00
qsharedpointer Remove the qmake project files 2021-01-07 15:32:28 +01:00
qsize Remove the qmake project files 2021-01-07 15:32:28 +01:00
qsizef Remove the qmake project files 2021-01-07 15:32:28 +01:00
qstl Remove the qmake project files 2021-01-07 15:32:28 +01:00
qtaggedpointer Remove the qmake project files 2021-01-07 15:32:28 +01:00
qtimeline Remove the qmake project files 2021-01-07 15:32:28 +01:00
qvarlengtharray Remove the qmake project files 2021-01-07 15:32:28 +01:00
qversionnumber Remove the qmake project files 2021-01-07 15:32:28 +01:00
CMakeLists.txt QDuplicateTracker: add tests 2020-12-01 14:42:52 +01:00