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) (ignore 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
@@ -589,16 +589,18 @@ void PlayListWidget::addToSelection( QListViewItem *it) {
tabWidget->setCurrentPage(0);
}
}
void PlayListWidget::tabChanged(QWidget *) {
+ d->tbPlay->setEnabled( true );
+
switch ( currentTab() ) {
case CurrentPlayList:
{
if( !tbDeletePlaylist->isHidden() ) {
tbDeletePlaylist->hide();
}
d->tbRemoveFromList->setEnabled(TRUE);
d->tbAddToList->setEnabled(FALSE);
@@ -629,16 +631,18 @@ void PlayListWidget::tabChanged(QWidget *) {
break;
case PlayLists:
{
if( tbDeletePlaylist->isHidden() ) {
tbDeletePlaylist->show();
}
playLists->reread();
d->tbAddToList->setEnabled(FALSE);
+
+ d->tbPlay->setEnabled( false );
}
break;
};
}
void PlayListWidget::btnPlay(bool b) {
// mediaPlayerState->setPlaying(false);