From f384c3097911c523e67620b77b1086e4788cd209 Mon Sep 17 00:00:00 2001 From: Anton Kudryavtsev Date: Tue, 19 Jan 2016 10:55:32 +0300 Subject: QMake: replace QStringLiteral with QLatin1String ... in string comparisons. It's more efficient. Change-Id: I5d54ab7777a0838455eaaac671e735eb37bfe243 Reviewed-by: Oswald Buddenhagen --- qmake/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'qmake/main.cpp') diff --git a/qmake/main.cpp b/qmake/main.cpp index bde537dcca..5f848d4820 100644 --- a/qmake/main.cpp +++ b/qmake/main.cpp @@ -309,8 +309,8 @@ int runQMake(int argc, char **argv) dir = tmp_dir; } #ifdef Q_OS_MAC - if (fi.fileName().endsWith(QStringLiteral(".pbxproj")) - && dir.endsWith(QStringLiteral(".xcodeproj"))) + if (fi.fileName().endsWith(QLatin1String(".pbxproj")) + && dir.endsWith(QLatin1String(".xcodeproj"))) dir += QStringLiteral("/.."); #endif if(!dir.isNull() && dir != ".") -- cgit v1.2.3