author | llornkcor <llornkcor> | 2002-06-16 19:23:12 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-06-16 19:23:12 (UTC) |
commit | 1eca76c99326afc111efeb2bf55a306a4f37eb1e (patch) (unidiff) | |
tree | a46c4c7d373688300cafc254a1e0ca9de508609e /core/multimedia/opieplayer | |
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 | 6 |
1 files changed, 5 insertions, 1 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 | |||
@@ -1058,3 +1058,5 @@ void PlayListWidget::openFile() { | |||
1058 | // http://66.28.68.70:8000 | 1058 | // http://66.28.68.70:8000 |
1059 | qDebug("Selected filename is "+filename); | 1059 | filename.replace(QRegExp("%20")," "); |
1060 | |||
1061 | qDebug("Selected filename is "+filename); | ||
1060 | if(filename.right(3) == "m3u") | 1062 | if(filename.right(3) == "m3u") |
@@ -1208,2 +1210,3 @@ void PlayListWidget::readm3u(const QString &filename) { | |||
1208 | } else { // is url | 1210 | } else { // is url |
1211 | s.replace(QRegExp("%20")," "); | ||
1209 | DocLnk lnk( s); | 1212 | DocLnk lnk( s); |
@@ -1244,2 +1247,3 @@ void PlayListWidget::readPls(const QString &filename) { | |||
1244 | s=s.right(s.length() - 6); | 1247 | s=s.right(s.length() - 6); |
1248 | s.replace(QRegExp("%20")," "); | ||
1245 | qDebug("adding "+s+" to playlist"); | 1249 | qDebug("adding "+s+" to playlist"); |