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

fix(avatar): Don't invert default avatar colour on connect

Fixes #4629
This commit is contained in:
anthony.bilinski 2017-09-06 18:08:54 -07:00
parent 89198f5e2d
commit be324b932b

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));
}