Diffstat (limited to 'noncore/multimedia/opieplayer2/audiowidget.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/multimedia/opieplayer2/audiowidget.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/noncore/multimedia/opieplayer2/audiowidget.cpp b/noncore/multimedia/opieplayer2/audiowidget.cpp index 446fa45..7c49733 100644 --- a/noncore/multimedia/opieplayer2/audiowidget.cpp +++ b/noncore/multimedia/opieplayer2/audiowidget.cpp @@ -49,4 +49,6 @@ #include "mediaplayerstate.h" +#include "playlistwidget.h" extern MediaPlayerState *mediaPlayerState; +extern PlayListWidget *playList; @@ -227,2 +229,3 @@ AudioWidget::~AudioWidget() { } +// mediaPlayerState->setPlaying(false); } @@ -471,4 +474,4 @@ void AudioWidget::mouseMoveEvent( QMouseEvent *event ) { case AudioStop: mediaPlayerState->setPlaying(FALSE); return; - case AudioNext: mediaPlayerState->setNext(); return; - case AudioPrevious: mediaPlayerState->setPrev(); return; + case AudioNext: if(playList->whichList() ==0) mediaPlayerState->setNext(); return; + case AudioPrevious: if(playList->whichList() ==0) mediaPlayerState->setPrev(); return; case AudioLoop: mediaPlayerState->setLooping(audioButtons[i].isDown); return; |