forked from qt-creator/qt-creator
QtSupport: fix compiler warning
this 'if' clause does not guard Change-Id: Ibeb7fa3c531d4896028931697f7af479e2c99c4b Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -931,6 +931,7 @@ QString BaseQtVersion::findQtBinary(Binaries binary) const
|
|||||||
case Linguist:
|
case Linguist:
|
||||||
if (HostOsInfo::isMacHost())
|
if (HostOsInfo::isMacHost())
|
||||||
possibleCommands << QLatin1String("Linguist.app/Contents/MacOS/Linguist");
|
possibleCommands << QLatin1String("Linguist.app/Contents/MacOS/Linguist");
|
||||||
|
else
|
||||||
possibleCommands << HostOsInfo::withExecutableSuffix(QLatin1String("linguist"));
|
possibleCommands << HostOsInfo::withExecutableSuffix(QLatin1String("linguist"));
|
||||||
break;
|
break;
|
||||||
case Uic:
|
case Uic:
|
||||||
|
Reference in New Issue
Block a user