Commit 4b8debd8 authored by Michael Pyne's avatar Michael Pyne

Fix bug 126032 (Last item in play queue is played twice) in KDE 4.


svn path=/trunk/KDE/kdemultimedia/juk/; revision=679722
parent dc88eea2
......@@ -94,8 +94,18 @@ void UpcomingPlaylist::playNext()
source->synchronizePlayingItems(l, false);
else {
// Normally we continue to play the currently playing item that way
// a user can continue to hear their song when deselecting Play Queue.
// However we're technically still "playing" when the queue empties and
// we reinstall the old iterator so in this situation manually advance
// to the next track. (Otherwise we hear the same song twice in a row
// during the transition)
void UpcomingPlaylist::clearItem(PlaylistItem *item, bool emitChanged)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment