Add missing Player::Stop() (#6192)

This commit is contained in:
Jonas Kvinge 2018-11-11 17:14:59 +01:00 committed by John Maguire
parent 4217e130cd
commit 24c428dbae
1 changed files with 3 additions and 1 deletions

View File

@ -620,7 +620,9 @@ void Player::InvalidSongRequested(const QUrl& url) {
bool stop_playback = s.value("stop_play_if_fail", 0).toBool();
s.endGroup();
if (!stop_playback) {
if (stop_playback) {
Stop();
} else {
NextItem(Engine::Auto);
}
}