summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2002-12-10 11:58:11 (UTC)
committer llornkcor <llornkcor>2002-12-10 11:58:11 (UTC)
commit92da6d6ed82230c25d71379eaffbcd222464726b (patch) (side-by-side diff)
tree57a524c60e9a32b0195aa2fa08e484c533e4ddf7
parentf468c3bc69655aefa0ec5783405355dd3dde4afc (diff)
downloadopie-92da6d6ed82230c25d71379eaffbcd222464726b.zip
opie-92da6d6ed82230c25d71379eaffbcd222464726b.tar.gz
opie-92da6d6ed82230c25d71379eaffbcd222464726b.tar.bz2
moving to playlistview after adding to it is annoying some people and me sometimes. try this for now
Diffstat (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
@@ -204,8 +204,12 @@ void PlayListWidget::addToSelection( const DocLnk& lnk ) {
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) {
switch (mouse) {
@@ -491,9 +495,9 @@ void PlayListWidget::addSelected() {
}
currentFileListView->clearSelection();
- tabWidget->setCurrentPage( 0 );
+// tabWidget->setCurrentPage( 0 );
writeCurrentM3u();
}
@@ -526,9 +530,9 @@ void PlayListWidget::addToSelection( QListViewItem *it) {
lnk.setFile( filename ); //sets file name
d->selectedFiles->addToSelection( lnk);
writeCurrentM3u();
- tabWidget->setCurrentPage(0);
+// tabWidget->setCurrentPage(0);
}
}