summaryrefslogtreecommitdiffstats
path: root/playerwidget.cpp
diff options
context:
space:
mode:
authorArno <arno@disconnect.de>2018-07-30 10:55:14 +0200
committerArno <arno@disconnect.de>2018-07-30 10:55:14 +0200
commitaf1dc65d43f524cce06f058eb6934dcc6b52ddc7 (patch)
tree8b2f6707d52389a97420eaf876dc5017aa9b7cce /playerwidget.cpp
parentd8749da92d94981efb77820d61d2547a168679d6 (diff)
downloadBeetPlayer-af1dc65d43f524cce06f058eb6934dcc6b52ddc7.tar.gz
BeetPlayer-af1dc65d43f524cce06f058eb6934dcc6b52ddc7.tar.bz2
BeetPlayer-af1dc65d43f524cce06f058eb6934dcc6b52ddc7.zip
stop() after last song from playlist
Diffstat (limited to 'playerwidget.cpp')
-rw-r--r--playerwidget.cpp2
1 files changed, 2 insertions, 0 deletions
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();
}
}