summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/multimedia/opieplayer2/playlistwidget.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/noncore/multimedia/opieplayer2/playlistwidget.cpp b/noncore/multimedia/opieplayer2/playlistwidget.cpp
index 75c7332..b15f95e 100644
--- a/noncore/multimedia/opieplayer2/playlistwidget.cpp
+++ b/noncore/multimedia/opieplayer2/playlistwidget.cpp
@@ -465,6 +465,7 @@ void PlayListWidget::addSelected() {
465 } 465 }
466// tabWidget->setCurrentPage(0); 466// tabWidget->setCurrentPage(0);
467 writeCurrentM3u(); 467 writeCurrentM3u();
468 d->selectedFiles->next();
468 } 469 }
469 break; 470 break;
470 case 2: { // video 471 case 2: { // video
@@ -485,6 +486,7 @@ void PlayListWidget::addSelected() {
485 } 486 }
486// tabWidget->setCurrentPage(0); 487// tabWidget->setCurrentPage(0);
487 writeCurrentM3u(); 488 writeCurrentM3u();
489
488 } 490 }
489 break; 491 break;
490 }; 492 };
@@ -774,9 +776,9 @@ void PlayListWidget::readm3u( const QString &filename ) {
774 if(s.left(4)=="http") { 776 if(s.left(4)=="http") {
775 lnk.setName( s ); //sets file name 777 lnk.setName( s ); //sets file name
776 lnk.setIcon("opieplayer2/musicfile"); 778 lnk.setIcon("opieplayer2/musicfile");
777 if(s.right(4) != '.' || s.right(5) != '.') 779// if(s.right(4) != '.' || s.right(5) != '.')
778 lnk.setFile( s+"/"); //if url with no extension 780// lnk.setFile( s+"/"); //if url with no extension
779 else 781// else
780 lnk.setFile( s ); //sets file name 782 lnk.setFile( s ); //sets file name
781 783
782 } else { 784 } else {