[users] Remove ' from transliterated string

This commit is contained in:
Artem Grinev 2020-11-04 03:37:25 +03:00
parent f20d0a7593
commit 94f7efb89f

View File

@ -375,6 +375,7 @@ Config::setFullName( const QString& name )
static QRegExp rx( "[^a-zA-Z0-9 ]", Qt::CaseInsensitive );
#ifdef HAVE_ICU
QString cleanName = transliterate(name);
cleanName.replace("'", "");
#else
QString cleanName = name;
#endif