Commit dc2fbe65 authored by Daniel Molkentin's avatar Daniel Molkentin
Browse files

Only add qtcreator's qm files to iterate through.

The app bundles on mac as well as the Creator versions created
by the windows and linux installers also copy all required qms
for qt, etc, which we must not pick up in the iteration.

Task-number: QTCREATORBUG-1080
Reviewed-by: Erik Verbruggen
parent 88683f97
......@@ -102,7 +102,7 @@ void GeneralSettings::fillLanguageBox() const
const QString creatorTrPath =
Core::ICore::instance()->resourcePath() + QLatin1String("/translations");
const QStringList languageFiles = QDir(creatorTrPath).entryList(QStringList(QLatin1String("*.qm")));
const QStringList languageFiles = QDir(creatorTrPath).entryList(QStringList(QLatin1String("qtcreator*.qm")));
Q_FOREACH(const QString &languageFile, languageFiles)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment