author | simon <simon> | 2002-12-02 16:38:16 (UTC) |
---|---|---|
committer | simon <simon> | 2002-12-02 16:38:16 (UTC) |
commit | cb03905d1be2f8b98f770201bc4cb98f75c80c1d (patch) (side-by-side diff) | |
tree | e2ad2689b12a63e0ac597d394e9ff6d385d817b1 | |
parent | a0cfa5b76aac8de36304faef4bb2b14237c04c9a (diff) | |
download | opie-cb03905d1be2f8b98f770201bc4cb98f75c80c1d.zip opie-cb03905d1be2f8b98f770201bc4cb98f75c80c1d.tar.gz opie-cb03905d1be2f8b98f770201bc4cb98f75c80c1d.tar.bz2 |
- disable 'play' in the play list tab
-rw-r--r-- | noncore/multimedia/opieplayer2/playlistwidget.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/noncore/multimedia/opieplayer2/playlistwidget.cpp b/noncore/multimedia/opieplayer2/playlistwidget.cpp index ce73252..b04fe8d 100644 --- a/noncore/multimedia/opieplayer2/playlistwidget.cpp +++ b/noncore/multimedia/opieplayer2/playlistwidget.cpp @@ -593,8 +593,10 @@ void PlayListWidget::addToSelection( QListViewItem *it) { void PlayListWidget::tabChanged(QWidget *) { + d->tbPlay->setEnabled( true ); + switch ( currentTab() ) { case CurrentPlayList: { if( !tbDeletePlaylist->isHidden() ) { @@ -633,8 +635,10 @@ void PlayListWidget::tabChanged(QWidget *) { tbDeletePlaylist->show(); } playLists->reread(); d->tbAddToList->setEnabled(FALSE); + + d->tbPlay->setEnabled( false ); } break; }; } |