-rw-r--r-- | noncore/multimedia/opieplayer2/playlistwidget.cpp | 5 |
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 | |||
@@ -954,14 +954,9 @@ void PlayListWidget::openFile() { | |||
954 | } else { | 954 | } else { |
955 | DocLnk lnk; | 955 | DocLnk lnk; |
956 | 956 | ||
957 | lnk.setName(filename); //sets file name | 957 | lnk.setName(filename); //sets file name |
958 | // probably not needed anymore either | ||
959 | if(filename.right(1) != "/" && filename.right(3) != "mp3" && filename.right(3) != "MP3") { | ||
960 | filename += "/"; | ||
961 | } | ||
962 | lnk.setFile(filename); //sets File property | 958 | lnk.setFile(filename); //sets File property |
963 | |||
964 | lnk.setType("audio/x-mpegurl"); | 959 | lnk.setType("audio/x-mpegurl"); |
965 | lnk.setExec("opieplayer"); | 960 | lnk.setExec("opieplayer"); |
966 | lnk.setIcon("opieplayer/MPEGPlayer"); | 961 | lnk.setIcon("opieplayer/MPEGPlayer"); |
967 | 962 | ||