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

Fixdisplaying Pub key when name empty

This commit is contained in:
TheNain38 2015-10-10 13:25:58 +02:00
parent aa303b24b3
commit 2db1d1449f

View File

@ -58,6 +58,9 @@ void Friend::loadHistory()
void Friend::setName(QString name)
{
if (name.isEmpty())
name = userID.publicKey;
userName = name;
if (userAlias.size() == 0)
{