Qmake: Remove some QLatin1Strings

Change-Id: I115bfba456337b3753cc00646da42e4c63db9963
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
Tobias Hunger
2016-11-29 12:36:25 +01:00
committed by Tim Jenssen
parent 95d70a8957
commit c0fdb14a94

View File

@@ -66,14 +66,14 @@ static QString linguistBinary(const QtSupport::BaseQtVersion *qtVersion)
{ {
if (qtVersion) if (qtVersion)
return qtVersion->linguistCommand(); return qtVersion->linguistCommand();
return QLatin1String(Utils::HostOsInfo::isMacHost() ? "Linguist" : "linguist"); return Utils::HostOsInfo::isMacHost() ? "Linguist" : "linguist";
} }
static QString designerBinary(const QtSupport::BaseQtVersion *qtVersion) static QString designerBinary(const QtSupport::BaseQtVersion *qtVersion)
{ {
if (qtVersion) if (qtVersion)
return qtVersion->designerCommand(); return qtVersion->designerCommand();
return QLatin1String(Utils::HostOsInfo::isMacHost() ? "Designer" : "designer"); return Utils::HostOsInfo::isMacHost() ? "Designer" : "designer";
} }
// Mac: Change the call 'Foo.app/Contents/MacOS/Foo <filelist>' to // Mac: Change the call 'Foo.app/Contents/MacOS/Foo <filelist>' to