diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2020-05-08 22:18:14 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2020-05-11 10:47:26 +0200 |
commit | 2ed048fa8dd506a8e57292e49dadd37011354a83 (patch) | |
tree | 7031798c8bfbd045b5fa1ae76105a2f8a85115be /src/gui/image/qimage_conversions.cpp | |
parent | 1018dba04ff6b2f018cbd1a22ae630daa473bfb4 (diff) |
QString: optimize insert() of a substring
The old code malloc()ed a buffer to hold a copy of the data if a
substring of *this was to be inserted. Instead, use a QVarLengthArray.
Pick-to: 5.15
Change-Id: Ia3b4d7509bff2375ec0da5c890ecff2e9f7f335c
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/gui/image/qimage_conversions.cpp')
0 files changed, 0 insertions, 0 deletions