Fix problems with phonon media playback
authorManuel Nickschas <sputnick@quassel-irc.org>
Thu, 7 May 2009 19:52:11 +0000 (21:52 +0200)
committerManuel Nickschas <sputnick@quassel-irc.org>
Thu, 7 May 2009 19:55:04 +0000 (21:55 +0200)
Suggested by Squider, thanks! Fixes #679.

src/qtui/phononnotificationbackend.cpp

index 48d1fdb..2edd429 100644 (file)
@@ -49,6 +49,7 @@ PhononNotificationBackend::~PhononNotificationBackend() {
 void PhononNotificationBackend::notify(const Notification &notification) {
   Q_UNUSED(notification)
   if(_enabled && _media) {
+    _media->stop();
     _media->play();
   }
 }