summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2009-06-30 12:11:38 (GMT)
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2009-06-30 15:21:16 (GMT)
commite0463464773f5eb2bda98a467a9c91092a1f1964 (patch)
tree4d7571afc8b10bfb1099c2b2b31e690a47e59cfb
parent3687425e541bd5f78c7baf63cfa5b1ba4d9ad29e (diff)
downloadQt-e0463464773f5eb2bda98a467a9c91092a1f1964.zip
Qt-e0463464773f5eb2bda98a467a9c91092a1f1964.tar.gz
Qt-e0463464773f5eb2bda98a467a9c91092a1f1964.tar.bz2
const ref for 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 eb743c2..09148e7 100644
--- a/tools/linguist/lupdate/cpp.cpp
+++ b/tools/linguist/lupdate/cpp.cpp
@@ -1799,7 +1799,7 @@ void loadCPP(Translator &translator, const QStringList &filenames, ConversionDat
? translator.codecName() : cd.m_codecForSource;
QTextCodec *codec = QTextCodec::codecForName(codecName);
- foreach (const QString filename, filenames) {
+ foreach (const QString &filename, filenames) {
if (CppFiles::getResults(filename) || CppFiles::isBlacklisted(filename))
continue;