1
0
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:
tux3 2015-06-30 16:14:47 +02:00
commit 1cbc9f51ed
No known key found for this signature in database
GPG Key ID: 7E086DD661263264

View File

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