Center playlist tabbar star icon

Fixes #574
This commit is contained in:
Jonas Kvinge 2020-11-02 17:57:12 +01:00
parent 7c10ec97b7
commit 4cab743634
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ void FavoriteWidget::SetFavorite(bool favorite) {
QSize FavoriteWidget::sizeHint() const {
const int frame_width = 1 + style()->pixelMetric(QStyle::PM_DefaultFrameWidth);
return QSize(kStarSize + frame_width * 2, kStarSize + frame_width * 2);
return QSize(kStarSize + frame_width, kStarSize + frame_width);
}
void FavoriteWidget::paintEvent(QPaintEvent *e) {