From af4b07b399d22110b17f6a6dbc1c76152df1e9e0 Mon Sep 17 00:00:00 2001 From: Arno Date: Thu, 21 Sep 2017 16:34:26 +0200 Subject: Add Favorites For now you can only add favorites, no view or removal. On the database side it's kinda awkward. I can't reference a song ID or something, because the DB is cleared on reindexing. So keep artist, song title and album as reference. I'm not yet sure if it's a good idea, though... --- playerwidget.h | 1 + 1 file changed, 1 insertion(+) (limited to 'playerwidget.h') diff --git a/playerwidget.h b/playerwidget.h index 52f2785..91f34e0 100644 --- a/playerwidget.h +++ b/playerwidget.h @@ -64,6 +64,7 @@ class PlayerWidget : public QWidget { void addToPlayList(); void addToPlayListAndClear(); void removeFromPlayList(); + void addToFavorites(); void clearPlayList(); void shufflePlayList(); void randomPlay(); -- cgit v1.2.3-70-g09d2