author | simon <simon> | 2002-12-02 14:23:06 (UTC) |
---|---|---|
committer | simon <simon> | 2002-12-02 14:23:06 (UTC) |
commit | 6440dfbca27a1716456c081ff1b1756616afc518 (patch) (side-by-side diff) | |
tree | 54c35f1acd1e3b06ba9b6cedbabc76dbc6a4783d | |
parent | 8179c80f459eeee815aeb279f73df754ba303198 (diff) | |
download | opie-6440dfbca27a1716456c081ff1b1756616afc518.zip opie-6440dfbca27a1716456c081ff1b1756616afc518.tar.gz opie-6440dfbca27a1716456c081ff1b1756616afc518.tar.bz2 |
- use currentTab() instead of whichList()
-rw-r--r-- | noncore/multimedia/opieplayer2/audiowidget.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/multimedia/opieplayer2/audiowidget.cpp b/noncore/multimedia/opieplayer2/audiowidget.cpp index 7c2b007..5cdfbf2 100644 --- a/noncore/multimedia/opieplayer2/audiowidget.cpp +++ b/noncore/multimedia/opieplayer2/audiowidget.cpp @@ -438,10 +438,10 @@ void AudioWidget::mouseMoveEvent( QMouseEvent *event ) { mediaPlayerState->setPaused( TRUE ); return; } case AudioStop: mediaPlayerState->setPlaying(FALSE); return; - case AudioNext: if( playList->whichList() ==0 ) mediaPlayerState->setNext(); return; - case AudioPrevious: if( playList->whichList() ==0 ) mediaPlayerState->setPrev(); return; + case AudioNext: if( playList->currentTab() == PlayListWidget::CurrentPlayList ) mediaPlayerState->setNext(); return; + case AudioPrevious: if( playList->currentTab() == PlayListWidget::CurrentPlayList ) mediaPlayerState->setPrev(); return; case AudioLoop: mediaPlayerState->setLooping(audioButtons[i].isDown); return; case AudioVolumeUp: emit moreReleased(); return; case AudioVolumeDown: emit lessReleased(); return; case AudioPlayList: mediaPlayerState->setList(); return; |