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

Commit

Permalink
fix(widget): Fix status pic alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonybilinski committed Feb 21, 2018
1 parent b48df03 commit d9118cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/widget/friendwidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ void FriendWidget::updateStatusLight()
Widget::getInstance()->updateFriendActivity(frnd);
}

statusPic.setMargin(event ? 0 : 3);
statusPic.setMargin(event ? 1 : 3);
}

QString FriendWidget::getStatusString() const
Expand Down
2 changes: 1 addition & 1 deletion src/widget/groupwidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ void GroupWidget::updateStatusLight()
statusPic.setMargin(3);
} else {
statusPic.setPixmap(QPixmap(":img/status/online_notification.svg"));
statusPic.setMargin(0);
statusPic.setMargin(1);
}
}

Expand Down

0 comments on commit d9118cf

Please sign in to comment.