summaryrefslogtreecommitdiff
path: root/src/plugins/projectexplorer/wincetoolchain.cpp
diff options
context:
space:
mode:
authorhjk <qtc-committer@nokia.com>2011-11-24 15:39:31 +0100
committerhjk <qthjk@ovi.com>2011-11-25 12:06:21 +0100
commit3a5a74ce023eab65926c99fa80bcffad696fd528 (patch)
treeb1165ea1aed3a56b5f626c45a2a8a49410f75a49 /src/plugins/projectexplorer/wincetoolchain.cpp
parentf924f1ef6987eae08933ac04ae7a861a1bddb628 (diff)
downloadqt-creator-3a5a74ce023eab65926c99fa80bcffad696fd528.tar.gz
wince: style fixes
Change-Id: If1df106677a575a646c8ff2c4860cd366882077a Reviewed-by: Steve King <steve_king_1974@yahoo.co.uk> Reviewed-by: hjk <qthjk@ovi.com>
Diffstat (limited to 'src/plugins/projectexplorer/wincetoolchain.cpp')
-rw-r--r--src/plugins/projectexplorer/wincetoolchain.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/plugins/projectexplorer/wincetoolchain.cpp b/src/plugins/projectexplorer/wincetoolchain.cpp
index d3913524cf..a480e03181 100644
--- a/src/plugins/projectexplorer/wincetoolchain.cpp
+++ b/src/plugins/projectexplorer/wincetoolchain.cpp
@@ -71,11 +71,10 @@ namespace Internal {
// Just decodes from the integer version to the string used in Qt mkspecs
static QString findMsvcVer(int version)
{
- if (10 == version)
+ if (version == 10)
return QLatin1String("msvc2010");
- else if (9 == version)
+ if (version == 9)
return QLatin1String("msvc2008");;
-
return QLatin1String("msvc2005");
}
@@ -122,7 +121,7 @@ static QString winExpandDelayedEnvReferences(QString in, const Utils::Environmen
// This is pretty much the same as the ReadEnvironmentSetting in the msvctoolchain.cpp, but
// this takes account of the library, binary and include paths to replace the vcvars versions
// with the ones for this toolchain.
-Utils::Environment WinCEToolChain::readEnvironmentSetting(Utils::Environment& env) const
+Utils::Environment WinCEToolChain::readEnvironmentSetting(Utils::Environment &env) const
{
Utils::Environment result = env;
if (!QFileInfo(m_vcvarsBat).exists())