From 94f7efb89fa06e6ef14bdecea0c855ca145c49c3 Mon Sep 17 00:00:00 2001 From: Artem Grinev Date: Wed, 4 Nov 2020 03:37:25 +0300 Subject: [PATCH] [users] Remove ' from transliterated string --- src/modules/users/Config.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/modules/users/Config.cpp b/src/modules/users/Config.cpp index 6a2709e9e..e94116bd7 100644 --- a/src/modules/users/Config.cpp +++ b/src/modules/users/Config.cpp @@ -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