diff --git a/src/libclient/qtwrapper/conversions_wrap.hpp b/src/libclient/qtwrapper/conversions_wrap.hpp index e814e542..9e9dd1fb 100644 --- a/src/libclient/qtwrapper/conversions_wrap.hpp +++ b/src/libclient/qtwrapper/conversions_wrap.hpp @@ -68,7 +68,7 @@ convertMap(const std::map& 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; }