author | llornkcor <llornkcor> | 2002-06-17 23:27:07 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-06-17 23:27:07 (UTC) |
commit | 33fea370b99c4d6985de14aa913534fb4b1188d3 (patch) (side-by-side diff) | |
tree | 356afa8be87f8e16030ec386bfa514ebf2f0a274 | |
parent | 8b089ad594fad0eed4303bc83db4910784e17dd5 (diff) | |
download | opie-33fea370b99c4d6985de14aa913534fb4b1188d3.zip opie-33fea370b99c4d6985de14aa913534fb4b1188d3.tar.gz opie-33fea370b99c4d6985de14aa913534fb4b1188d3.tar.bz2 |
need special case for urls to be added
-rw-r--r-- | core/multimedia/opieplayer/playlistwidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/multimedia/opieplayer/playlistwidget.cpp b/core/multimedia/opieplayer/playlistwidget.cpp index b0d4958..41fcb30 100644 --- a/core/multimedia/opieplayer/playlistwidget.cpp +++ b/core/multimedia/opieplayer/playlistwidget.cpp @@ -409,25 +409,25 @@ void PlayListWidget::writeConfig( Config& cfg ) const { noOfFiles++; } } while ( d->selectedFiles->next() ); cfg.writeEntry("NumberOfFiles", noOfFiles ); } void PlayListWidget::addToSelection( const DocLnk& lnk ) { // qDebug("add"); d->setDocumentUsed = FALSE; if ( mediaPlayerState->playlist() ) { - if(QFileInfo(lnk.file()).exists()) + if(QFileInfo(lnk.file()).exists() || lnk.file().left(4) == "http" ) d->selectedFiles->addToSelection( lnk ); } else mediaPlayerState->setPlaying( TRUE ); } void PlayListWidget::clearList() { while ( first() ) d->selectedFiles->removeSelected(); } |