Skip to content
Commit a9c57c55 authored by Tomaz Canabrava's avatar Tomaz Canabrava
Browse files

use QStringLiteral for QString creation of constants and QLatin1Literal for comparisson



Strings can be expensive to create, all the issues with allocation,
copy of the char members, conversion to UTF-16. QStringLiteral creates
one in compile time.

Signed-off-by: default avatarTomaz Canabrava <tomaz.canabrava@intel.com>
parent 01f6ea7c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment