summaryrefslogtreecommitdiff
path: root/noncore
Unidiff
Diffstat (limited to 'noncore') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/multimedia/opieplayer2/playlistwidget.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/noncore/multimedia/opieplayer2/playlistwidget.cpp b/noncore/multimedia/opieplayer2/playlistwidget.cpp
index 27a3286..cba7b6d 100644
--- a/noncore/multimedia/opieplayer2/playlistwidget.cpp
+++ b/noncore/multimedia/opieplayer2/playlistwidget.cpp
@@ -205,6 +205,10 @@ void PlayListWidget::clearList() {
205 while ( first() ) { 205 while ( first() ) {
206 d->selectedFiles->removeSelected(); 206 d->selectedFiles->removeSelected();
207 } 207 }
208 Config cfg( "OpiePlayer" );
209 cfg.setGroup("PlayList");
210 cfg.writeEntry("CurrentPlaylist","default");
211 setCaption("OpiePlayer");
208} 212}
209 213
210void PlayListWidget::viewPressed( int mouse, QListViewItem *, const QPoint& , int) { 214void PlayListWidget::viewPressed( int mouse, QListViewItem *, const QPoint& , int) {
@@ -492,7 +496,7 @@ void PlayListWidget::addSelected() {
492 496
493 currentFileListView->clearSelection(); 497 currentFileListView->clearSelection();
494 498
495 tabWidget->setCurrentPage( 0 ); 499// tabWidget->setCurrentPage( 0 );
496 writeCurrentM3u(); 500 writeCurrentM3u();
497} 501}
498 502
@@ -527,7 +531,7 @@ void PlayListWidget::addToSelection( QListViewItem *it) {
527 d->selectedFiles->addToSelection( lnk); 531 d->selectedFiles->addToSelection( lnk);
528 532
529 writeCurrentM3u(); 533 writeCurrentM3u();
530 tabWidget->setCurrentPage(0); 534// tabWidget->setCurrentPage(0);
531 535
532 } 536 }
533} 537}