author | simon <simon> | 2002-12-02 14:25:04 (UTC) |
---|---|---|
committer | simon <simon> | 2002-12-02 14:25:04 (UTC) |
commit | 11d12e26459315713b46dbe00a52eef0ce9e4d77 (patch) (side-by-side diff) | |
tree | 4d761f1bb239261be545049a7a5e72a5dae011b5 | |
parent | 6440dfbca27a1716456c081ff1b1756616afc518 (diff) | |
download | opie-11d12e26459315713b46dbe00a52eef0ce9e4d77.zip opie-11d12e26459315713b46dbe00a52eef0ce9e4d77.tar.gz opie-11d12e26459315713b46dbe00a52eef0ce9e4d77.tar.bz2 |
- whichList() is deprecated
-rw-r--r-- | noncore/multimedia/opieplayer2/videowidget.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/multimedia/opieplayer2/videowidget.cpp b/noncore/multimedia/opieplayer2/videowidget.cpp index c435241..ff3f5f7 100644 --- a/noncore/multimedia/opieplayer2/videowidget.cpp +++ b/noncore/multimedia/opieplayer2/videowidget.cpp @@ -320,50 +320,50 @@ void VideoWidget::mouseMoveEvent( QMouseEvent *event ) { if ( videoButtons[i].isHeld ) { videoButtons[i].isHeld = FALSE; if ( !videoButtons[i].isToggle ) { setToggleButton( i, FALSE ); } switch(i) { case VideoPlay: { if( mediaPlayerState->isPaused() ) { setToggleButton( i, FALSE ); mediaPlayerState->setPaused( FALSE ); return; } else if( !mediaPlayerState->isPaused() ) { setToggleButton( i, TRUE ); mediaPlayerState->setPaused( TRUE ); return; } else { return; } } case VideoStop: mediaPlayerState->setPlaying( FALSE ); return; - case VideoNext: if(playList->whichList() ==0) mediaPlayerState->setNext(); return; - case VideoPrevious: if(playList->whichList() ==0) mediaPlayerState->setPrev(); return; + case VideoNext: if( playList->currentTab() == PlayListWidget::CurrentPlayList ) mediaPlayerState->setNext(); return; + case VideoPrevious: if( playList->currentTab() == PlayListWidget::CurrentPlayList ) mediaPlayerState->setPrev(); return; case VideoVolUp: emit moreReleased(); return; case VideoVolDown: emit lessReleased(); return; case VideoFullscreen: mediaPlayerState->setFullscreen( TRUE ); makeVisible(); return; } } } } } void VideoWidget::mousePressEvent( QMouseEvent *event ) { mouseMoveEvent( event ); } void VideoWidget::mouseReleaseEvent( QMouseEvent *event ) { if ( mediaPlayerState->isFullscreen() ) { mediaPlayerState->setFullscreen( FALSE ); makeVisible(); } mouseMoveEvent( event ); } void VideoWidget::showEvent( QShowEvent* ) { QMouseEvent event( QEvent::MouseMove, QPoint( 0, 0 ), 0, 0 ); mouseMoveEvent( &event ); |