From d9e6d8d752000676cf5ea9489f044db78ef12b69 Mon Sep 17 00:00:00 2001 From: Arno Date: Mon, 27 Feb 2017 12:34:23 +0100 Subject: Advance to next song from playlist when the current one has finished. --- playerwidget.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'playerwidget.h') diff --git a/playerwidget.h b/playerwidget.h index 0dd2671..668e965 100644 --- a/playerwidget.h +++ b/playerwidget.h @@ -2,6 +2,7 @@ #define PLAYERWIDGET_H #include +#include class QStandardItemModel; class QStandardItem; @@ -40,6 +41,7 @@ class PlayerWidget : public QWidget { void setPosition(qint64 pos); void setDuration(qint64 dur); void slide(int value); + void continuePlaying(QMediaPlayer::State state); private: void setupGui(); -- cgit v1.2.3-70-g09d2