diff options
author | Arno <arno@disconnect.de> | 2018-07-30 10:55:14 +0200 |
---|---|---|
committer | Arno <arno@disconnect.de> | 2018-07-30 10:55:14 +0200 |
commit | af1dc65d43f524cce06f058eb6934dcc6b52ddc7 (patch) | |
tree | 8b2f6707d52389a97420eaf876dc5017aa9b7cce | |
parent | d8749da92d94981efb77820d61d2547a168679d6 (diff) | |
download | BeetPlayer-af1dc65d43f524cce06f058eb6934dcc6b52ddc7.tar.gz BeetPlayer-af1dc65d43f524cce06f058eb6934dcc6b52ddc7.tar.bz2 BeetPlayer-af1dc65d43f524cce06f058eb6934dcc6b52ddc7.zip |
stop() after last song from playlist
-rw-r--r-- | playerwidget.cpp | 2 |
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(); } } |