summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2002-04-20 18:29:06 (UTC)
committer llornkcor <llornkcor>2002-04-20 18:29:06 (UTC)
commit758c9e817087252894b15c6f7476c1f16a02f65d (patch) (side-by-side diff)
treede3a2fa88c3eeffae5602928b3a57c8f9ac2ac86
parentb37f1e1eec635165da7dbf06e968cd5368d92d4e (diff)
downloadopie-758c9e817087252894b15c6f7476c1f16a02f65d.zip
opie-758c9e817087252894b15c6f7476c1f16a02f65d.tar.gz
opie-758c9e817087252894b15c6f7476c1f16a02f65d.tar.bz2
file/url
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/multimedia/opieplayer/playlistwidget.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/core/multimedia/opieplayer/playlistwidget.cpp b/core/multimedia/opieplayer/playlistwidget.cpp
index 11f9752..4b1ff22 100644
--- a/core/multimedia/opieplayer/playlistwidget.cpp
+++ b/core/multimedia/opieplayer/playlistwidget.cpp
@@ -988,2 +988,3 @@ void PlayListWidget::openFile() {
QString name = filename.right(filename.length()-filename.find("http://")-7);
+ qDebug(name);
lnk.setName( name); //sets file name
@@ -992,3 +993,2 @@ void PlayListWidget::openFile() {
// problem is, the launcher sees this as a broken link and does not display it :(
-
lnk.setType("audio/x-mpegurl");
@@ -996,5 +996,2 @@ void PlayListWidget::openFile() {
lnk.setIcon("opieplayer/MPEGPlayer");
- QString cmd="touch "+QPEApplication::documentDir()+"audio/x-mpegurl/"+name;
- system( cmd.latin1());
-// d->selectedFiles->addToSelection( **dit );
@@ -1002,2 +999,3 @@ void PlayListWidget::openFile() {
qDebug("Writing doclink did not work");
+ d->selectedFiles->addToSelection( lnk);
if(fileDlg)