mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-28 05:34:47 +01:00
Properly de-capitalize strings with "scharfes S"
This commit is contained in:
parent
a11b926a98
commit
1297db26f6
@ -35,7 +35,8 @@ static QString capitalize(const QString &str)
|
||||
if (str.isEmpty())
|
||||
return str;
|
||||
for (int i = 0; i < str.size(); i++)
|
||||
if (str.at(i).isLetter() && !str.at(i).isUpper())
|
||||
if (str.at(i).isLetter() && !(str.at(i).isUpper()
|
||||
|| str.at(i) == QChar(0x00DF)))
|
||||
return str;
|
||||
|
||||
QString ret(str);
|
||||
|
Loading…
Reference in New Issue
Block a user