mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
fixed regression (#334)
This commit is contained in:
parent
67a7f99d71
commit
7100fb707b
|
@ -149,6 +149,10 @@ void FriendWidget::onAvatarRemoved(int FriendId)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
isDefaultAvatar = true;
|
isDefaultAvatar = true;
|
||||||
|
|
||||||
|
if (isActive())
|
||||||
|
avatar->setPixmap(QPixmap(":img/contact_dark.png"), Qt::transparent);
|
||||||
|
else
|
||||||
avatar->setPixmap(QPixmap(":img/contact.png"), Qt::transparent);
|
avatar->setPixmap(QPixmap(":img/contact.png"), Qt::transparent);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user