author | simon <simon> | 2002-12-02 16:38:16 (UTC) |
---|---|---|
committer | simon <simon> | 2002-12-02 16:38:16 (UTC) |
commit | cb03905d1be2f8b98f770201bc4cb98f75c80c1d (patch) (unidiff) | |
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 | |||
@@ -594,6 +594,8 @@ void PlayListWidget::addToSelection( QListViewItem *it) { | |||
594 | 594 | ||
595 | void PlayListWidget::tabChanged(QWidget *) { | 595 | void PlayListWidget::tabChanged(QWidget *) { |
596 | 596 | ||
597 | d->tbPlay->setEnabled( true ); | ||
598 | |||
597 | switch ( currentTab() ) { | 599 | switch ( currentTab() ) { |
598 | case CurrentPlayList: | 600 | case CurrentPlayList: |
599 | { | 601 | { |
@@ -634,6 +636,8 @@ void PlayListWidget::tabChanged(QWidget *) { | |||
634 | } | 636 | } |
635 | playLists->reread(); | 637 | playLists->reread(); |
636 | d->tbAddToList->setEnabled(FALSE); | 638 | d->tbAddToList->setEnabled(FALSE); |
639 | |||
640 | d->tbPlay->setEnabled( false ); | ||
637 | } | 641 | } |
638 | break; | 642 | break; |
639 | }; | 643 | }; |