summaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
authorNikita Baryshnikov <nib952051@gmail.com>2016-05-12 22:08:57 +0300
committerNikita Baryshnikov <nib952051@gmail.com>2016-05-13 07:40:23 +0000
commit3eb81f3708ae6d27fd4a032c793643019a833402 (patch)
tree5b4e8ba3353ae2734790245b2a041ffadc38205a /src/plugins
parent82b6d728c73e2d8ac06fc84ce818e9c2c8b50fb2 (diff)
downloadqt-creator-3eb81f3708ae6d27fd4a032c793643019a833402.tar.gz
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>
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/qtsupport/baseqtversion.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/qtsupport/baseqtversion.cpp b/src/plugins/qtsupport/baseqtversion.cpp
index 09a3531855..06e8c9c2d3 100644
--- a/src/plugins/qtsupport/baseqtversion.cpp
+++ b/src/plugins/qtsupport/baseqtversion.cpp
@@ -931,6 +931,7 @@ QString BaseQtVersion::findQtBinary(Binaries binary) const
case Linguist:
if (HostOsInfo::isMacHost())
possibleCommands << QLatin1String("Linguist.app/Contents/MacOS/Linguist");
+ else
possibleCommands << HostOsInfo::withExecutableSuffix(QLatin1String("linguist"));
break;
case Uic: