Reduce string objects

Authored by tcanabrava on Jan 28 2019, 10:59 AM.

Description

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

Details

Committed
tcanabravaFeb 14 2019, 9:30 AM
Reviewer
apol
Differential Revision
D18578: Reduce string objects
Parents
R106:959cc1c87eb1: SVN_SILENT made messages (.desktop file) - always resolve ours
Branches
Unknown
Tags
Unknown