Skip to content
This repository has been archived by the owner on Feb 12, 2023. It is now read-only.

Commit

Permalink
fix(avatar): Don't invert default avatar colour on connect
Browse files Browse the repository at this point in the history
Fixes #4629
  • Loading branch information
anthonybilinski committed Sep 7, 2017
1 parent 89198f5 commit be324b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/widget/friendwidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}

Expand Down

0 comments on commit be324b9

Please sign in to comment.