summaryrefslogtreecommitdiffstats
path: root/src/gui/util
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2020-05-12 15:46:07 +0200
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2020-05-19 13:57:26 +0200
commitb118628ccca15d39617c7bb916f538d59cfb6c7d (patch)
tree03f5647e307c21cc2fa09129915c75e0133f3740 /src/gui/util
parent1266b1a4a18bfc1b836b286d802eee4560ae574d (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. Change-Id: I023712ec00172f1c8570e762817bfc3a95e01125 Reviewed-by: Lars Knoll <lars.knoll@qt.io> (cherry picked from commit e201d585401ea4affe8dde3f4f43f15bf49fa229) Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Diffstat (limited to 'src/gui/util')
0 files changed, 0 insertions, 0 deletions