From 92da6d6ed82230c25d71379eaffbcd222464726b Mon Sep 17 00:00:00 2001 From: llornkcor Date: Tue, 10 Dec 2002 11:58:11 +0000 Subject: moving to playlistview after adding to it is annoying some people and me sometimes. try this for now --- 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() { while ( first() ) { d->selectedFiles->removeSelected(); } + Config cfg( "OpiePlayer" ); + cfg.setGroup("PlayList"); + cfg.writeEntry("CurrentPlaylist","default"); + setCaption("OpiePlayer"); } void PlayListWidget::viewPressed( int mouse, QListViewItem *, const QPoint& , int) { @@ -492,7 +496,7 @@ void PlayListWidget::addSelected() { currentFileListView->clearSelection(); - tabWidget->setCurrentPage( 0 ); +// tabWidget->setCurrentPage( 0 ); writeCurrentM3u(); } @@ -527,7 +531,7 @@ void PlayListWidget::addToSelection( QListViewItem *it) { d->selectedFiles->addToSelection( lnk); writeCurrentM3u(); - tabWidget->setCurrentPage(0); +// tabWidget->setCurrentPage(0); } } -- cgit v0.9.0.2