Commit 8d1e6bc5 authored by Michael Pyne's avatar Michael Pyne
Browse files

Backport fix for bug 204391 to KDE 4.3.3 or 4.3.4 (we'll see who wins the race!)

This patch from Kåre Särs should fix the issue of JuK skipping every other track on
Windows (and possibly elsewhere, depending on how useful/lousy your Phonon backend is).

If it doesn't fix the bug, just reopen.

BUG:204391

svn path=/branches/KDE/4.3/kdemultimedia/juk/; revision=1042537
parent da612e63
......@@ -403,7 +403,12 @@ void PlayerManager::slotFinished()
// user moves the slider all the way to the end, therefore see if we can keep playing
// and if we can, do so. Otherwise, stop. Note that this slot should
// only be called by the currently "main" output path (i.e. not from the
// crossfading one)
// crossfading one). However life isn't always so nice apparently, so do some
// sanity-checking.
Phonon::MediaObject *mediaObject = qobject_cast<Phonon::MediaObject *>(sender());
if(mediaObject != m_media[m_curOutputPath])
return;
m_playlistInterface->playNext();
m_file = m_playlistInterface->currentFile();
......
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