mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
Merge pull request #4630
anthony.bilinski (1): fix(avatar): Don't invert default avatar colour on connect
This commit is contained in:
commit
e67713527c
|
@ -390,7 +390,7 @@ void FriendWidget::onAvatarRemoved(int friendId)
|
||||||
|
|
||||||
isDefaultAvatar = true;
|
isDefaultAvatar = true;
|
||||||
|
|
||||||
const QString path = QString(":/img/contact%1.svg").arg(isActive() ? "" : "_dark");
|
const QString path = QString(":/img/contact%1.svg").arg(isActive() ? "_dark" : "");
|
||||||
avatar->setPixmap(QPixmap(path));
|
avatar->setPixmap(QPixmap(path));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user