Æ now actually works with the case-insensitive tags.
This commit is contained in:
parent
aff32e0f56
commit
2a5aa06881
1 changed files with 5 additions and 0 deletions
|
@ -437,6 +437,11 @@ int CardInfo::getPreferredMuId()
|
||||||
QString CardInfo::simplifyName(const QString &name) {
|
QString CardInfo::simplifyName(const QString &name) {
|
||||||
QString simpleName(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.
|
// Replace Jötun Grunt with Jotun Grunt.
|
||||||
simpleName = simpleName.normalized(QString::NormalizationForm_KD);
|
simpleName = simpleName.normalized(QString::NormalizationForm_KD);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue