author | harlekin <harlekin> | 2002-07-31 23:56:39 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2002-07-31 23:56:39 (UTC) |
commit | b2978cf32ae5e6954fb118c89c1f70ee05d53ef4 (patch) (unidiff) | |
tree | c9a90786a9676014cc1abba61bc0828cf61beb67 /noncore/multimedia/opieplayer2/playlistwidget.cpp | |
parent | 3a4d367a8e5e9f599e0487326c105de9aa773bfe (diff) | |
download | opie-b2978cf32ae5e6954fb118c89c1f70ee05d53ef4.zip opie-b2978cf32ae5e6954fb118c89c1f70ee05d53ef4.tar.gz opie-b2978cf32ae5e6954fb118c89c1f70ee05d53ef4.tar.bz2 |
fix
Diffstat (limited to 'noncore/multimedia/opieplayer2/playlistwidget.cpp') (more/less context) (ignore whitespace changes)
-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 | |||
@@ -955,12 +955,7 @@ void PlayListWidget::openFile() { | |||
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"); |