author | llornkcor <llornkcor> | 2002-06-16 19:23:12 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-06-16 19:23:12 (UTC) |
commit | 1eca76c99326afc111efeb2bf55a306a4f37eb1e (patch) (side-by-side diff) | |
tree | a46c4c7d373688300cafc254a1e0ca9de508609e | |
parent | b1d106338eca0c28573e2fc83c63c8ed3c76a239 (diff) | |
download | opie-1eca76c99326afc111efeb2bf55a306a4f37eb1e.zip opie-1eca76c99326afc111efeb2bf55a306a4f37eb1e.tar.gz opie-1eca76c99326afc111efeb2bf55a306a4f37eb1e.tar.bz2 |
lame attempt to deal with illegal urls
-rw-r--r-- | core/multimedia/opieplayer/playlistwidget.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/multimedia/opieplayer/playlistwidget.cpp b/core/multimedia/opieplayer/playlistwidget.cpp index d7447b7..200ec16 100644 --- a/core/multimedia/opieplayer/playlistwidget.cpp +++ b/core/multimedia/opieplayer/playlistwidget.cpp @@ -1057,4 +1057,6 @@ void PlayListWidget::openFile() { // http://205.188.234.129:8030 // http://66.28.68.70:8000 + filename.replace(QRegExp("%20")," "); + qDebug("Selected filename is "+filename); if(filename.right(3) == "m3u") @@ -1207,4 +1209,5 @@ void PlayListWidget::readm3u(const QString &filename) { d->selectedFiles->addToSelection( lnk); } else { // is url + s.replace(QRegExp("%20")," "); DocLnk lnk( s); QString name = s.right( s.length() - 7); @@ -1243,4 +1246,5 @@ void PlayListWidget::readPls(const QString &filename) { if(s.left(4) == "File") { s=s.right(s.length() - 6); + s.replace(QRegExp("%20")," "); qDebug("adding "+s+" to playlist"); // numberofentries=2 |