diff options
| author | Marc Mutz <marc.mutz@qt.io> | 2025-09-19 07:49:51 +0200 |
|---|---|---|
| committer | Marc Mutz <marc.mutz@qt.io> | 2025-09-22 19:51:44 +0200 |
| commit | 7ff2ecca660be0ef4e5b7f7ce206d23c79f148ea (patch) | |
| tree | 0f5e483e920d6e387d6600f4ffec52ffece60c83 /src/gui/util/qundostack.cpp | |
| parent | 3ba8e2fbc483f8f5564bb30ee7437a9150e193b5 (diff) | |
QList: check that freeSpaceAtBegin() eventually shrinks
We used to have a bug in this area, so add a test that checks that
when QList is used as a queue, its capacity doesn't grow unbounded by
never shrinking freeSpaceAtBegin().
This should probably be in tst_ContainerSymmetry...
Pick-to: 6.10 6.8 6.5
Change-Id: I5cb117e0177c71238e377f3bb05cb237694350ad
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/gui/util/qundostack.cpp')
0 files changed, 0 insertions, 0 deletions
