From add783bf8070a13027224ec5a2f45e557bea1506 Mon Sep 17 00:00:00 2001 From: Arno Date: Mon, 27 Feb 2017 00:53:32 +0100 Subject: Implement remove from playlist Isn't as easy as it sounds. We have to convert the QModelIndexes to remove into persistant ones, because the row number changes when the first one is removed. --- playerwidget.h | 1 + 1 file changed, 1 insertion(+) (limited to 'playerwidget.h') diff --git a/playerwidget.h b/playerwidget.h index a6b9373..c16878e 100644 --- a/playerwidget.h +++ b/playerwidget.h @@ -27,6 +27,7 @@ class PlayerWidget : public QWidget { void clearFilter(); void reindex(); void addToPlayList(); + void removeFromPlayList(); private: void setupGui(); -- cgit v1.2.3-70-g09d2