tcanabrava created this revision. Herald added a project: Plasma. Herald added a subscriber: plasma-devel. tcanabrava requested review of this revision.
REVISION SUMMARY QStringLiteral cannot deal with duplicates, so each invokation in the same file with the same string will create a different UTF-16 string representation for that thing. Considering that we called the same string six times in the same function, just create a temporary variable that's the UTF-16 representation of the QString, and use it REPOSITORY R106 KSysguard BRANCH reduceStrings REVISION DETAIL https://phabricator.kde.org/D18578 AFFECTED FILES gui/ksysguard.cpp To: tcanabrava Cc: plasma-devel, jraleigh, GB_2, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart