mirror of
https://github.com/strawberrymusicplayer/strawberry
synced 2025-02-05 20:03:28 +01:00
parent
7c10ec97b7
commit
4cab743634
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user