From a79674bdbba0093f4bba78f47905b67fd2f32a8f Mon Sep 17 00:00:00 2001 From: simon Date: Mon, 02 Dec 2002 17:16:48 +0000 Subject: - setUsingPlaylist and togglePlaylist is never called. removed. --- diff --git a/noncore/multimedia/opieplayer2/mediaplayerstate.cpp b/noncore/multimedia/opieplayer2/mediaplayerstate.cpp index aa85176..43040c2 100644 --- a/noncore/multimedia/opieplayer2/mediaplayerstate.cpp +++ b/noncore/multimedia/opieplayer2/mediaplayerstate.cpp @@ -141,14 +141,6 @@ void MediaPlayerState::setShuffled( bool b ) { emit shuffledToggled(b); } -void MediaPlayerState::setUsingPlaylist( bool b ) { - if ( usePlaylist == b ) { - return; - } - usePlaylist = b; - emit playlistToggled(b); -} - void MediaPlayerState::setPaused( bool b ) { if ( paused == b ) { paused = FALSE; @@ -253,10 +245,6 @@ void MediaPlayerState::toggleShuffled() { setShuffled( !shuffled); } -void MediaPlayerState::togglePlaylist() { - setUsingPlaylist( !usePlaylist); -} - void MediaPlayerState::togglePaused() { setPaused( !paused); } diff --git a/noncore/multimedia/opieplayer2/mediaplayerstate.h b/noncore/multimedia/opieplayer2/mediaplayerstate.h index 163586b..d15894f 100644 --- a/noncore/multimedia/opieplayer2/mediaplayerstate.h +++ b/noncore/multimedia/opieplayer2/mediaplayerstate.h @@ -71,7 +71,6 @@ public slots: void setScaled( bool b ); void setLooping( bool b ); void setShuffled( bool b ); - void setUsingPlaylist( bool b ); void setPaused( bool b ); void setPlaying( bool b ); void setStopped( bool b ); @@ -92,7 +91,6 @@ public slots: void toggleScaled(); void toggleLooping(); void toggleShuffled(); - void togglePlaylist(); void togglePaused(); void togglePlaying(); void toggleBlank(); -- cgit v0.9.0.2