Commit eb30305d authored by Michael Pyne's avatar Michael Pyne
Browse files

Apply a modified patch by Kåre Särs to try and solve bug 204391 (JuK skips every second

track on Windows).  I guess the Qt Phonon backend on Windows doesn't emit the aboutToFinish
signal, that's the only thing I can think of offhand that would cause this.  Either way the
patch doesn't hurt so in it goes. (This applies to KDE 4.4, will backport).


svn path=/trunk/KDE/kdemultimedia/juk/; revision=1042531
parent 90cab7bb
......@@ -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])
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