summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2002-11-14 04:00:08 (UTC)
committer llornkcor <llornkcor>2002-11-14 04:00:08 (UTC)
commitabf6aa1c155e3d5df3092f4261edb7143656de7e (patch) (unidiff)
tree1637f4e330b28334e415f7984444cf391b4b12f5
parent8b1dd63f359c491bdcadb7e2ce39410a1d92a926 (diff)
downloadopie-abf6aa1c155e3d5df3092f4261edb7143656de7e.zip
opie-abf6aa1c155e3d5df3092f4261edb7143656de7e.tar.gz
opie-abf6aa1c155e3d5df3092f4261edb7143656de7e.tar.bz2
clear selection after adding to playlist
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/multimedia/opieplayer2/playlistwidget.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/noncore/multimedia/opieplayer2/playlistwidget.cpp b/noncore/multimedia/opieplayer2/playlistwidget.cpp
index ccf654f..1138dc2 100644
--- a/noncore/multimedia/opieplayer2/playlistwidget.cpp
+++ b/noncore/multimedia/opieplayer2/playlistwidget.cpp
@@ -555,6 +555,8 @@ void PlayListWidget::addSelected() {
555 lnk.setFile( filename ); //sets file name 555 lnk.setFile( filename ); //sets file name
556 d->selectedFiles->addToSelection( lnk); 556 d->selectedFiles->addToSelection( lnk);
557
557 } 558 }
558 } 559 }
560 audioView->clearSelection();
559 } 561 }
560 break; 562 break;
@@ -564,6 +566,4 @@ void PlayListWidget::addSelected() {
564 for ( ; it.current(); ++it ) { 566 for ( ; it.current(); ++it ) {
565 if ( it.current()->isSelected() ) { 567 if ( it.current()->isSelected() ) {
566 // myFile = (*it);
567
568 filename=it.current()->text(3); 568 filename=it.current()->text(3);
569 lnk.setName( QFileInfo(filename).baseName() ); //sets name 569 lnk.setName( QFileInfo(filename).baseName() ); //sets name
@@ -572,4 +572,5 @@ void PlayListWidget::addSelected() {
572 } 572 }
573 } 573 }
574 videoView->clearSelection();
574 } 575 }
575 break; 576 break;