mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
Merge branch 'pr1945'
This commit is contained in:
commit
1cbc9f51ed
|
@ -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