mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
parent
14c3fad97b
commit
4682814442
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user