From dfdae585354f7efe53ab5c0c6b402e65dea42aed Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Wed, 27 Aug 2014 07:50:20 +0000 Subject: fixed xspf parsing again git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@4437 90c681e8-e032-0410-971d-27865f9a5e38 --- src/plugins/PlayListFormats/xspf/xspfplaylistformat.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/plugins/PlayListFormats/xspf/xspfplaylistformat.cpp b/src/plugins/PlayListFormats/xspf/xspfplaylistformat.cpp index 41787b256..c93aa1624 100644 --- a/src/plugins/PlayListFormats/xspf/xspfplaylistformat.cpp +++ b/src/plugins/PlayListFormats/xspf/xspfplaylistformat.cpp @@ -69,7 +69,7 @@ QStringList XSPFPlaylistFormat::decode(const QString & contents) QUrl url(xml.text().toString()); if (url.scheme() == "file") //remove scheme for local files only - out << QUrl::fromPercentEncoding(url.toString(QUrl::RemoveScheme).toAscii()); + out << QUrl::fromPercentEncoding(url.toString().toAscii()).remove("file://"); else out << QUrl::fromPercentEncoding(url.toString().toAscii()); } -- cgit v1.2.3-13-gbd6f