Reduce string objects
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
Reviewers: apol
Reviewed By: apol
Subscribers: apol, plasma-devel
Tags: Plasma
Differential Revision: https://phabricator.kde.org/D18578