Revision 1236082

Go back to digest for 12th June 2011

Bug Fixes in Multimedia

Giorgos Kylafas committed changes in /trunk/KDE/kdemultimedia/juk:

juk: no crash-on-exit while playing, no matter how we exit.

Since r921339, we stop the playback during exit, otherwise some phonon
backends will crash. However, the relevant code was only executed when
selecting "File->Quit", not when closing the window nor when quitting
from the system tray.

So, similarly to r1236077, put the stopping of playback into queryExit()
to get executed in every case.

Being in queryExit() means quit() has already been called. So, we can no
longer wait for Phonon's StoppedState and then call quit(), as was done
in r921339.
However, waiting for Phonon's state change does not seem to be necessary
any more, so we can safely remove slotPlaybackStopped().

File Changes

Modified 2 files
  • /trunk/KDE/kdemultimedia/juk
  •   /juk.cpp
  •   /juk.h
2 files changed in total