PlaylistTabBar: Add right click option to star playlist

Fixes #782
This commit is contained in:
Jonas Kvinge
2021-09-28 22:14:25 +02:00
parent d870115467
commit 9bd728889b
4 changed files with 34 additions and 18 deletions

View File

@@ -40,7 +40,7 @@ FavoriteWidget::FavoriteWidget(const int tab_index, const bool favorite, QWidget
off_(":/icons/64x64/star-grey.png"),
rect_(0, 0, kStarSize, kStarSize) {}
void FavoriteWidget::SetFavorite(bool favorite) {
void FavoriteWidget::SetFavorite(const bool favorite) {
if (favorite_ != favorite) {
favorite_ = favorite;