summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2009-09-23 15:18:06 +0200
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2009-09-23 15:44:25 +0200
commit061f4976c7a3f9ac86ccd289ee93fc64182de27d (patch)
tree60a9ffd321d78dc3724e5677a62b08753d36e235
parentbfdee5f1658b1bac4a0d1b93c5a45dbc6709f9e3 (diff)
downloadqt4-tools-061f4976c7a3f9ac86ccd289ee93fc64182de27d.tar.gz
missing & in foreach
-rw-r--r--tools/linguist/lupdate/cpp.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/linguist/lupdate/cpp.cpp b/tools/linguist/lupdate/cpp.cpp
index be86c93509..6c56a5659a 100644
--- a/tools/linguist/lupdate/cpp.cpp
+++ b/tools/linguist/lupdate/cpp.cpp
@@ -1969,7 +1969,7 @@ void loadCPP(Translator &translator, const QStringList &filenames, ConversionDat
CppFiles::setResults(filename, parser.getResults());
}
- foreach (const QString filename, filenames)
+ foreach (const QString &filename, filenames)
if (!CppFiles::isBlacklisted(filename))
if (Translator *tor = CppFiles::getResults(filename)->tor)
foreach (const TranslatorMessage &msg, tor->messages())