1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

fix the names in the history

fix #1943 #1787
This commit is contained in:
PKev 2015-06-30 16:56:38 +03:00
parent 14c3fad97b
commit 4682814442

View File

@ -1219,7 +1219,7 @@ QString Core::getPeerName(const ToxId& id) const
return name;
}
name = name.fromLocal8Bit((char*)cname, nameSize);
name = CString::toString(cname, nameSize);
delete[] cname;
return name;
}