diff options
| author | Marc Mutz <marc.mutz@qt.io> | 2023-12-13 13:25:15 +0100 |
|---|---|---|
| committer | Marc Mutz <marc.mutz@qt.io> | 2023-12-13 21:54:01 +0100 |
| commit | b6fdef44e46b97cf4dc5fee750f50054c65bf5ef (patch) | |
| tree | 711c63915fea15f1295b321e137ea783f185eb54 /src/corelib/serialization/qjsonobject.cpp | |
| parent | 95c7f88132646489bc17b8ea32facd76a19e19fa (diff) | |
QSortFilterProxyModel: scope a variable tighter
The clear() will not preserve capacity, since the QList has been
copied into proxy_intervals already, so is shared. But then creating a
new QList is just as efficient, or more so.
Pick-to: 6.7
Change-Id: I7ffd91bae8ded5ac28d58bcc545c479f6edc7c90
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/corelib/serialization/qjsonobject.cpp')
0 files changed, 0 insertions, 0 deletions
