forked from qt-creator/qt-creator
Qmake: Remove some QLatin1Strings
Change-Id: I115bfba456337b3753cc00646da42e4c63db9963 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
committed by
Tim Jenssen
parent
95d70a8957
commit
c0fdb14a94
@@ -66,14 +66,14 @@ static QString linguistBinary(const QtSupport::BaseQtVersion *qtVersion)
|
||||
{
|
||||
if (qtVersion)
|
||||
return qtVersion->linguistCommand();
|
||||
return QLatin1String(Utils::HostOsInfo::isMacHost() ? "Linguist" : "linguist");
|
||||
return Utils::HostOsInfo::isMacHost() ? "Linguist" : "linguist";
|
||||
}
|
||||
|
||||
static QString designerBinary(const QtSupport::BaseQtVersion *qtVersion)
|
||||
{
|
||||
if (qtVersion)
|
||||
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
|
||||
|
Reference in New Issue
Block a user