diff options
| author | Marc Mutz <marc.mutz@kdab.com> | 2020-05-12 15:46:07 +0200 |
|---|---|---|
| committer | Marc Mutz <marc.mutz@kdab.com> | 2020-05-13 14:38:58 +0200 |
| commit | e201d585401ea4affe8dde3f4f43f15bf49fa229 (patch) | |
| tree | 861457ecb451f6c648c7309026ff6006e49c6d4d /src/corelib/io/qurlidna.cpp | |
| parent | 90f864a4c57c40e043978b61d85732b88dc00cc4 (diff) | |
QString: fix premature pessimisation in arg(char-ish)
Instead of converting the char or QChar to a QString, convert them to
a QStringView, saving the memory allocation.
Pick-to: 5.15
Change-Id: I023712ec00172f1c8570e762817bfc3a95e01125
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/corelib/io/qurlidna.cpp')
0 files changed, 0 insertions, 0 deletions
