NOISSUE fix display of european portuguese in language lists

This commit is contained in:
Petr Mrázek 2019-09-27 00:23:03 +02:00
parent ffe84d6ec7
commit 1210d3abf1

View File

@ -33,7 +33,12 @@ struct Language
Language(const QString & _key)
{
key = _key;
if(key == "pt") {
locale = QLocale("pt_PT");
}
else {
locale = QLocale(key);
}
updated = (key == defaultLangCode);
}