forked from qt-creator/qt-creator
QMake: replace QStringLiteral with QLatin1String
... in string comparisons. It's more efficient. Change-Id: I5d54ab7777a0838455eaaac671e735eb37bfe243 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> (cherry picked from qtbase/f384c3097911c523e67620b77b1086e4788cd209) Reviewed-by: Jake Petroules <jake.petroules@qt.io> Reviewed-by: Anton Kudryavtsev <a.kudryavtsev@netris.ru>
This commit is contained in:
committed by
Oswald Buddenhagen
parent
c9a7a79970
commit
73fead33dc
@@ -949,7 +949,7 @@ static ProString msvcBinDirToQMakeArch(QString subdir)
|
||||
if (idx >= 0)
|
||||
subdir.remove(0, idx + 1);
|
||||
subdir = subdir.toLower();
|
||||
if (subdir == QStringLiteral("amd64"))
|
||||
if (subdir == QLatin1String("amd64"))
|
||||
return ProString("x86_64");
|
||||
return ProString(subdir);
|
||||
}
|
||||
|
Reference in New Issue
Block a user