From 77d55b631fa3cf26bfdf809c17ee3252d3c80ac0 Mon Sep 17 00:00:00 2001 From: simon Date: Mon, 02 Dec 2002 14:34:45 +0000 Subject: - whichList is deprecated --- (limited to 'noncore/multimedia/opieplayer2/mediaplayer.cpp') diff --git a/noncore/multimedia/opieplayer2/mediaplayer.cpp b/noncore/multimedia/opieplayer2/mediaplayer.cpp index 8136ff1..6a38adc 100644 --- a/noncore/multimedia/opieplayer2/mediaplayer.cpp +++ b/noncore/multimedia/opieplayer2/mediaplayer.cpp @@ -95,7 +95,7 @@ void MediaPlayer::setPlaying( bool play ) { } QString tickerText, time, fileName; - if( playList->whichList() == 0 ) { //check for filelist + if( playList->currentTab() == PlayListWidget::CurrentPlayList ) { //check for filelist const DocLnk *playListCurrent = playList->current(); if ( playListCurrent != NULL ) { currentFile = playListCurrent; @@ -147,7 +147,7 @@ void MediaPlayer::setPlaying( bool play ) { void MediaPlayer::prev() { - if( playList->whichList() == 0 ) { //if using the playlist + if( playList->currentTab() == PlayListWidget::CurrentPlayList ) { //if using the playlist if ( playList->prev() ) { play(); } else if ( mediaPlayerState->isLooping() ) { @@ -163,7 +163,7 @@ void MediaPlayer::prev() { void MediaPlayer::next() { - if(playList->whichList() == 0) { //if using the playlist + if(playList->currentTab() == PlayListWidget::CurrentPlayList) { //if using the playlist if ( playList->next() ) { play(); } else if ( mediaPlayerState->isLooping() ) { -- cgit v0.9.0.2