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,8 @@ class FavoriteWidget : public QWidget {
explicit FavoriteWidget(const int tab_index, const bool favorite = false, QWidget *parent = nullptr);
// Change the value if different from the current one and then update display and emit FavoriteStateChanged signal
void SetFavorite(bool favorite);
bool IsFavorite() const { return favorite_; }
void SetFavorite(const bool favorite);
QSize sizeHint() const override;