summaryrefslogtreecommitdiff
authorsimon <simon>2002-12-02 16:38:16 (UTC)
committer simon <simon>2002-12-02 16:38:16 (UTC)
commitcb03905d1be2f8b98f770201bc4cb98f75c80c1d (patch) (side-by-side diff)
treee2ad2689b12a63e0ac597d394e9ff6d385d817b1
parenta0cfa5b76aac8de36304faef4bb2b14237c04c9a (diff)
downloadopie-cb03905d1be2f8b98f770201bc4cb98f75c80c1d.zip
opie-cb03905d1be2f8b98f770201bc4cb98f75c80c1d.tar.gz
opie-cb03905d1be2f8b98f770201bc4cb98f75c80c1d.tar.bz2
- disable 'play' in the play list tab
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--noncore/multimedia/opieplayer2/playlistwidget.cpp4
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) {
void PlayListWidget::tabChanged(QWidget *) {
+ d->tbPlay->setEnabled( true );
+
switch ( currentTab() ) {
case CurrentPlayList:
{
@@ -634,6 +636,8 @@ void PlayListWidget::tabChanged(QWidget *) {
}
playLists->reread();
d->tbAddToList->setEnabled(FALSE);
+
+ d->tbPlay->setEnabled( false );
}
break;
};