Fixes for the Static Checks

This commit is contained in:
Pawel Polanski
2011-02-23 15:16:34 +01:00
parent f125b57163
commit f23c4632c4
8 changed files with 46 additions and 9 deletions

View File

@@ -606,7 +606,7 @@ Utils::Environment Qt4RunConfiguration::baseEnvironment() const
// dirs to the path
const Qt4ProFileNode *node = qt4Target()->qt4Project()->rootProjectNode()->findProFileFor(m_proFilePath);
if (node)
foreach(const QString dir, node->variableValue(LibDirectoriesVar))
foreach(const QString &dir, node->variableValue(LibDirectoriesVar))
env.prependOrSetPath(dir);
#endif
return env;