-rw-r--r-- | noncore/multimedia/opieplayer2/mediaplayerstate.h | 1 | ||||
-rw-r--r-- | noncore/multimedia/opieplayer2/playlistwidget.cpp | 14 | ||||
-rw-r--r-- | noncore/multimedia/opieplayer2/playlistwidget.h | 1 |
3 files changed, 1 insertions, 15 deletions
diff --git a/noncore/multimedia/opieplayer2/mediaplayerstate.h b/noncore/multimedia/opieplayer2/mediaplayerstate.h index d15894f..7a80ad8 100644 --- a/noncore/multimedia/opieplayer2/mediaplayerstate.h +++ b/noncore/multimedia/opieplayer2/mediaplayerstate.h | |||
@@ -104,3 +104,2 @@ signals: | |||
104 | void shuffledToggled( bool ); | 104 | void shuffledToggled( bool ); |
105 | void playlistToggled( bool ); | ||
106 | void pausedToggled( bool ); | 105 | void pausedToggled( bool ); |
diff --git a/noncore/multimedia/opieplayer2/playlistwidget.cpp b/noncore/multimedia/opieplayer2/playlistwidget.cpp index 6355bec..5b277cc 100644 --- a/noncore/multimedia/opieplayer2/playlistwidget.cpp +++ b/noncore/multimedia/opieplayer2/playlistwidget.cpp | |||
@@ -149,4 +149,2 @@ PlayListWidget::PlayListWidget( QWidget* parent, const char* name, WFlags fl ) | |||
149 | d->tbShuffle, SLOT( setOn( bool ) ) ); | 149 | d->tbShuffle, SLOT( setOn( bool ) ) ); |
150 | connect( mediaPlayerState, SIGNAL( playlistToggled( bool ) ), | ||
151 | this, SLOT( setPlaylist( bool ) ) ); | ||
152 | connect( d->selectedFiles, SIGNAL( doubleClicked( QListViewItem *) ), | 150 | connect( d->selectedFiles, SIGNAL( doubleClicked( QListViewItem *) ), |
@@ -179,3 +177,3 @@ void PlayListWidget::initializeStates() { | |||
179 | d->tbShuffle->setOn( mediaPlayerState->isShuffled() ); | 177 | d->tbShuffle->setOn( mediaPlayerState->isShuffled() ); |
180 | setPlaylist( true ); | 178 | d->playListFrame->show(); |
181 | } | 179 | } |
@@ -519,12 +517,2 @@ void PlayListWidget::loadList( const DocLnk & lnk) { | |||
519 | 517 | ||
520 | |||
521 | void PlayListWidget::setPlaylist( bool shown ) { | ||
522 | if ( shown ) { | ||
523 | d->playListFrame->show(); | ||
524 | } else { | ||
525 | d->playListFrame->hide(); | ||
526 | } | ||
527 | } | ||
528 | |||
529 | |||
530 | void PlayListWidget::addSelected() { | 518 | void PlayListWidget::addSelected() { |
diff --git a/noncore/multimedia/opieplayer2/playlistwidget.h b/noncore/multimedia/opieplayer2/playlistwidget.h index 511a192..fa2837a 100644 --- a/noncore/multimedia/opieplayer2/playlistwidget.h +++ b/noncore/multimedia/opieplayer2/playlistwidget.h | |||
@@ -121,3 +121,2 @@ private slots: | |||
121 | void addToSelection( QListViewItem* ); // Add a media file to the playlist | 121 | void addToSelection( QListViewItem* ); // Add a media file to the playlist |
122 | void setPlaylist( bool ); // Show/Hide the playlist | ||
123 | void clearList(); | 122 | void clearList(); |