1
0
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:
Diadlo 2017-09-09 22:30:15 +03:00
commit e67713527c
No known key found for this signature in database
GPG Key ID: 5AF9F2E29107C727

View File

@ -390,7 +390,7 @@ void FriendWidget::onAvatarRemoved(int friendId)
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));
}