Details
-
Bug
-
Resolution: Fixed
-
P3: Somewhat important
-
6.4.0, 6.4.1, 6.4.2, 6.4.3
-
None
-
-
1
-
58ebbb622 (dev), ae6ec2034 (6.5), 000d3d590 (tqtc/lts-6.2)
-
Foundation Sprint 78, Foundations Sprint 79, Foundations Sprint 80, Foundation Sprint 81
Description
https://doc.qt.io/qt-6/qlist.html#resize
In the documentation for Qt 6 and QList::resize is written:
Since Qt 5.6, resize() doesn't shrink the capacity anymore. To shed excess capacity, use squeeze().
This is wrong, because resize() doesn't exist in QList for any Qt 5.x.
It is also missing something like this:
This function was introduced in Qt 6.x.
Attachments
Issue Links
- relates to
-
QTBUG-98947 QList::resize is missing a [since 6.0]
- Closed
For Gerrit Dashboard: QTBUG-112334 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
469884,3 | [docs] QList: fix history of resize(n) semantics change | dev | qt/qtbase | Status: MERGED | +2 | 0 |
475146,2 | [docs] QList: fix history of resize(n) semantics change | 6.5 | qt/qtbase | Status: MERGED | +2 | 0 |
475147,2 | [docs] QList: fix history of resize(n) semantics change | tqtc/lts-6.2 | qt/tqtc-qtbase | Status: MERGED | +2 | 0 |