1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-23 19:25:54 +01:00

Improve capitalization algorithm

This commit is contained in:
Martin Tůma 2024-09-13 22:24:58 +02:00
parent 937c71f16c
commit 6bc8be58fc

View File

@ -33,7 +33,8 @@ static QString capitalized(const QString &str)
QChar last(str.at(i-1));
QChar c(str.at(i));
ret[i] = (last.isSpace() || last == '(') ? c : c.toLower();
ret[i] = (last.isSpace() || last == '(' || last == '"')
? c : c.toLower();
}
return ret;