-rw-r--r-- | noncore/multimedia/opieplayer2/playlistwidget.cpp | 8 |
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 @@ -464,8 +464,9 @@ void PlayListWidget::addSelected() { } } // tabWidget->setCurrentPage(0); writeCurrentM3u(); + d->selectedFiles->next(); } break; case 2: { // video QListViewItemIterator it( videoView ); @@ -484,8 +485,9 @@ void PlayListWidget::addSelected() { } } // tabWidget->setCurrentPage(0); writeCurrentM3u(); + } break; }; } @@ -773,11 +775,11 @@ void PlayListWidget::readm3u( const QString &filename ) { // qDebug("reading "+ s); if(s.left(4)=="http") { lnk.setName( s ); //sets file name lnk.setIcon("opieplayer2/musicfile"); - if(s.right(4) != '.' || s.right(5) != '.') - lnk.setFile( s+"/"); //if url with no extension - else +// if(s.right(4) != '.' || s.right(5) != '.') +// lnk.setFile( s+"/"); //if url with no extension +// else lnk.setFile( s ); //sets file name } else { // if( QFileInfo( s ).exists() ) { |