Use QLatin1 QStringConverter methods
Change-Id: Ie28168250f3cd2a6ffe83f5ed783a1c21b754ee2 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>bb10
parent
04ac810ed0
commit
9b8e3eeb59
|
|
@ -211,9 +211,7 @@ namespace {
|
|||
}
|
||||
QChar *write(QChar *out, QLatin1StringView v)
|
||||
{
|
||||
for (char ch : v)
|
||||
*out++ = QLatin1Char(ch);
|
||||
return out;
|
||||
return QLatin1::convertToUnicode(out, v);
|
||||
}
|
||||
QChar *write(QChar *out, QStringView v)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue