diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2015-12-27 11:05:43 +0100 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2016-01-11 18:54:32 +0000 |
commit | 5034d4163048c74668ab0f33e963b9eab3d206a0 (patch) | |
tree | a411f83b6fbde6b1c6aa4eb4387735d719902de7 /src/corelib/tools/qscopedpointer_p.h | |
parent | c31181559293f65d3a24e241f6dbe5d0e38c6779 (diff) |
QTranslator: don't repeatedly re-create a QString from a QLatin1String
... each time around the loops. Cache it.
Also use QStringLiteral, since the string will never be
modified.
Also saves 96b in text size on optimized GCC 4.9 Linux
AMD64 builds.
Change-Id: I0269586235da18f3073a553739561ea7db6356e8
Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
Diffstat (limited to 'src/corelib/tools/qscopedpointer_p.h')
0 files changed, 0 insertions, 0 deletions