summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--noncore/multimedia/opieplayer2/playlistwidget.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/noncore/multimedia/opieplayer2/playlistwidget.cpp b/noncore/multimedia/opieplayer2/playlistwidget.cpp
index 9373f6b..cd53748 100644
--- a/noncore/multimedia/opieplayer2/playlistwidget.cpp
+++ b/noncore/multimedia/opieplayer2/playlistwidget.cpp
@@ -955,12 +955,7 @@ void PlayListWidget::openFile() {
DocLnk lnk;
lnk.setName(filename); //sets file name
- // probably not needed anymore either
- if(filename.right(1) != "/" && filename.right(3) != "mp3" && filename.right(3) != "MP3") {
- filename += "/";
- }
lnk.setFile(filename); //sets File property
-
lnk.setType("audio/x-mpegurl");
lnk.setExec("opieplayer");
lnk.setIcon("opieplayer/MPEGPlayer");