author | simon <simon> | 2002-12-02 15:02:50 (UTC) |
---|---|---|
committer | simon <simon> | 2002-12-02 15:02:50 (UTC) |
commit | 5380767372ecf3ab22f799abda32f414b0cc7ede (patch) (side-by-side diff) | |
tree | e8e2f3d96589cad708c2ffe8f5c3dd2fb200fc69 | |
parent | 77147a2001cf991e3581bcb2401143e20a3973d4 (diff) | |
download | opie-5380767372ecf3ab22f799abda32f414b0cc7ede.zip opie-5380767372ecf3ab22f799abda32f414b0cc7ede.tar.gz opie-5380767372ecf3ab22f799abda32f414b0cc7ede.tar.bz2 |
- disable playlist addition in the playlists tab
-rw-r--r-- | noncore/multimedia/opieplayer2/playlistwidget.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/noncore/multimedia/opieplayer2/playlistwidget.cpp b/noncore/multimedia/opieplayer2/playlistwidget.cpp index c9ae225..a8429e3 100644 --- a/noncore/multimedia/opieplayer2/playlistwidget.cpp +++ b/noncore/multimedia/opieplayer2/playlistwidget.cpp @@ -615,48 +615,49 @@ void PlayListWidget::tabChanged(QWidget *) { if( !tbDeletePlaylist->isHidden() ) { tbDeletePlaylist->hide(); } d->tbRemoveFromList->setEnabled(FALSE); d->tbAddToList->setEnabled(TRUE); } break; case 2: { // videoView->clear(); if(!videoPopulated) populateVideoView(); if( !tbDeletePlaylist->isHidden() ) { tbDeletePlaylist->hide(); } d->tbRemoveFromList->setEnabled(FALSE); d->tbAddToList->setEnabled(TRUE); } break; case 3: { if( tbDeletePlaylist->isHidden() ) { tbDeletePlaylist->show(); } playLists->reread(); + d->tbAddToList->setEnabled(FALSE); } break; }; } void PlayListWidget::btnPlay(bool b) { // mediaPlayerState->setPlaying(false); mediaPlayerState->setPlaying(b); insanityBool=FALSE; } void PlayListWidget::deletePlaylist() { switch( QMessageBox::information( this, (tr("Remove Playlist?")), (tr("You really want to delete\nthis playlist?")), (tr("Yes")), (tr("No")), 0 )){ case 0: // Yes clicked, QFile().remove(playLists->selectedDocument().file()); QFile().remove(playLists->selectedDocument().linkFile()); playLists->reread(); break; case 1: // Cancel break; }; |