Get rid of the double ".qm" in the missing translation message.

This commit is contained in:
David Korth 2016-10-15 19:12:07 -04:00 committed by PKEuS
parent 310226bb6b
commit 336cf5fd08
1 changed files with 0 additions and 1 deletions

View File

@ -127,7 +127,6 @@ bool TranslationHandler::SetLanguage(const QString &code)
translationFile = appPath + "/" + mTranslations[index].mFilename + ".qm";
if (!mTranslator->load(translationFile) && !failure) {
translationFile += ".qm";
//If it failed, lets check if the default file exists
if (!QFile::exists(translationFile)) {
error = QObject::tr("Language file %1 not found!");