summaryrefslogtreecommitdiff
path: root/src/plugins/qnx/qnxutils.cpp
diff options
context:
space:
mode:
authorOrgad Shaneh <orgad.shaneh@audiocodes.com>2013-07-17 00:01:45 +0300
committerOrgad Shaneh <orgads@gmail.com>2013-07-17 11:11:25 +0200
commitad9e7ccab6e8476c0cb478ea2e4f13354dc21635 (patch)
tree9c67e7cfec7e7d0603e9279de9227cdef1cac530 /src/plugins/qnx/qnxutils.cpp
parentc67f7f63497b321f42ee0081f29b7e3804023a10 (diff)
downloadqt-creator-ad9e7ccab6e8476c0cb478ea2e4f13354dc21635.tar.gz
Fix coding style for else statements
Change-Id: I1309db70e98d678e150388c76ce665e988fdf081 Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Diffstat (limited to 'src/plugins/qnx/qnxutils.cpp')
-rw-r--r--src/plugins/qnx/qnxutils.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/qnx/qnxutils.cpp b/src/plugins/qnx/qnxutils.cpp
index 64eff9cea1..2da2c9bc19 100644
--- a/src/plugins/qnx/qnxutils.cpp
+++ b/src/plugins/qnx/qnxutils.cpp
@@ -117,8 +117,7 @@ QMultiMap<QString, QString> QnxUtils::parseEnvironmentFile(const QString &fileNa
else
value = systemVarRegExp.cap(3);
}
- }
- else if (Utils::HostOsInfo::isAnyUnixHost()) {
+ } else if (Utils::HostOsInfo::isAnyUnixHost()) {
QRegExp systemVarRegExp(QLatin1String("\\$\\{([\\w\\d]+):=([\\w\\d]+)\\}")); // to match e.g. "${QNX_HOST_VERSION:=10_0_9_52}"
if (value.contains(systemVarRegExp)) {
Utils::Environment sysEnv = Utils::Environment::systemEnvironment();