summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2002-06-17 23:27:07 (UTC)
committer llornkcor <llornkcor>2002-06-17 23:27:07 (UTC)
commit33fea370b99c4d6985de14aa913534fb4b1188d3 (patch) (side-by-side diff)
tree356afa8be87f8e16030ec386bfa514ebf2f0a274
parent8b089ad594fad0eed4303bc83db4910784e17dd5 (diff)
downloadopie-33fea370b99c4d6985de14aa913534fb4b1188d3.zip
opie-33fea370b99c4d6985de14aa913534fb4b1188d3.tar.gz
opie-33fea370b99c4d6985de14aa913534fb4b1188d3.tar.bz2
need special case for urls to be added
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/multimedia/opieplayer/playlistwidget.cpp2
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
@@ -418,7 +418,7 @@ 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