From af1dc65d43f524cce06f058eb6934dcc6b52ddc7 Mon Sep 17 00:00:00 2001 From: Arno Date: Mon, 30 Jul 2018 10:55:14 +0200 Subject: stop() after last song from playlist --- playerwidget.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/playerwidget.cpp b/playerwidget.cpp index 9f15524..40efad5 100644 --- a/playerwidget.cpp +++ b/playerwidget.cpp @@ -985,6 +985,8 @@ void PlayerWidget::advance(int numSongs){ if(nextIdx.isValid()){ mSongView->selectionModel()->setCurrentIndex(nextIdx, QItemSelectionModel::ClearAndSelect); playCurrent(nextIdx); + }else{ + doStop(); } } -- cgit v1.2.3-70-g09d2