summaryrefslogtreecommitdiff
authorsimon <simon>2002-12-02 17:22:29 (UTC)
committer simon <simon>2002-12-02 17:22:29 (UTC)
commit28f9d0587b2ee6a6a9467f658567a45ab7e95b94 (patch) (side-by-side diff)
tree509fcf475ca55dde3d64f6719a2a751c8c4a88dc
parenta79674bdbba0093f4bba78f47905b67fd2f32a8f (diff)
downloadopie-28f9d0587b2ee6a6a9467f658567a45ab7e95b94.zip
opie-28f9d0587b2ee6a6a9467f658567a45ab7e95b94.tar.gz
opie-28f9d0587b2ee6a6a9467f658567a45ab7e95b94.tar.bz2
- removed the playlistToggled signal, as it is never emitted
- resulted in some simplification in playlistwidget
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--noncore/multimedia/opieplayer2/mediaplayerstate.h1
-rw-r--r--noncore/multimedia/opieplayer2/playlistwidget.cpp14
-rw-r--r--noncore/multimedia/opieplayer2/playlistwidget.h1
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:
void shuffledToggled( bool );
- void playlistToggled( bool );
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 )
d->tbShuffle, SLOT( setOn( bool ) ) );
- connect( mediaPlayerState, SIGNAL( playlistToggled( bool ) ),
- this, SLOT( setPlaylist( bool ) ) );
connect( d->selectedFiles, SIGNAL( doubleClicked( QListViewItem *) ),
@@ -179,3 +177,3 @@ void PlayListWidget::initializeStates() {
d->tbShuffle->setOn( mediaPlayerState->isShuffled() );
- setPlaylist( true );
+ d->playListFrame->show();
}
@@ -519,12 +517,2 @@ void PlayListWidget::loadList( const DocLnk & lnk) {
-
-void PlayListWidget::setPlaylist( bool shown ) {
- if ( shown ) {
- d->playListFrame->show();
- } else {
- d->playListFrame->hide();
- }
-}
-
-
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:
void addToSelection( QListViewItem* ); // Add a media file to the playlist
- void setPlaylist( bool ); // Show/Hide the playlist
void clearList();