Æ now actually works with the case-insensitive tags.

This commit is contained in:
Waleed Khan 2014-07-22 20:58:38 -04:00
parent aff32e0f56
commit 2a5aa06881

View file

@ -437,6 +437,11 @@ int CardInfo::getPreferredMuId()
QString CardInfo::simplifyName(const QString &name) {
QString simpleName(name);
// So Aetherling would work, but not Ætherling since 'Æ' would get replaced
// with nothing.
simpleName.replace("æ", "ae");
simpleName.replace("Æ", "AE");
// Replace Jötun Grunt with Jotun Grunt.
simpleName = simpleName.normalized(QString::NormalizationForm_KD);