Fix some code scanning issues.

foreach()-Loops.
This commit is contained in:
Friedemann Kleint
2010-02-01 14:00:07 +01:00
parent 0f6551c43f
commit f672bff338
22 changed files with 48 additions and 40 deletions

View File

@@ -96,7 +96,7 @@ void GeneralSettings::fillLanguageBox() const
const QStringList languageFiles = QDir(creatorTrPath).entryList(QStringList(QLatin1String("*.qm")));
const QString currentLocale = language();
Q_FOREACH(const QString languageFile, languageFiles)
Q_FOREACH(const QString &languageFile, languageFiles)
{
int start = languageFile.lastIndexOf(QLatin1Char('_'))+1;
int end = languageFile.lastIndexOf(QLatin1Char('.'));