Skip to content
Snippets Groups Projects
Commit 7a9d0699 authored by Andreas Traczyk's avatar Andreas Traczyk
Browse files

text-encoding: maintain UTF-8 when converting to MapStringString

Change-Id: I6d10827c4b5dcd2cddc8516f3c30d3f986774ffb
parent d997a579
Branches
Tags
No related merge requests found
......@@ -68,7 +68,7 @@ convertMap(const std::map<std::string, std::string>& m)
{
MapStringString temp;
for (const auto& [key, value] : m) {
temp[QString(key.c_str())] = QString::fromLatin1(QByteArray::fromStdString(value));
temp[QString(key.c_str())] = QString(value.c_str());
}
return temp;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment