-rw-r--r-- | noncore/multimedia/opieplayer2/playlistwidget.cpp | 5 |
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() { lnk.setFile( filename ); //sets file name d->selectedFiles->addToSelection( lnk); + } } + audioView->clearSelection(); } break; @@ -564,6 +566,4 @@ void PlayListWidget::addSelected() { for ( ; it.current(); ++it ) { if ( it.current()->isSelected() ) { - // myFile = (*it); - filename=it.current()->text(3); lnk.setName( QFileInfo(filename).baseName() ); //sets name @@ -572,4 +572,5 @@ void PlayListWidget::addSelected() { } } + videoView->clearSelection(); } break; |