summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorAnton Kudryavtsev <a.kudryavtsev@netris.ru>2016-01-24 11:10:19 +0300
committerAnton Kudryavtsev <a.kudryavtsev@netris.ru>2016-01-26 07:34:06 +0000
commit6ca81d1fd17df525fb51033fbdad6c99b332f234 (patch)
tree42078dfb0b4417dc973e98da9e03398b0a97618d /util
parent037e58fff634ab8f04cf834446517a4265279039 (diff)
QTranslator: don't re-create QString each time through a loop
Just cache it. Also port to QStringLiteral, because the string is never modified. Since the string literal is used in more than one function, to avoid duplication of .rodata, wrap the QStringLiteral in an inline function. Change-Id: Ib5aede9f129610c80d122939afc343c938cc8e48 Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Diffstat (limited to 'util')
0 files changed, 0 insertions, 0 deletions