aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/PlayListFormats
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2017-01-03 19:50:58 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2017-01-03 19:50:58 +0000
commit501a20123427698e3c078583816804f4befb82ad (patch)
treec9bf0b1e1800e4d0a63a8b699d2c8f9fae4533f7 /src/plugins/PlayListFormats
parentcd9ed90720b9695d4bf6194d54a49d78ffe39710 (diff)
downloadqmmp-501a20123427698e3c078583816804f4befb82ad.tar.gz
qmmp-501a20123427698e3c078583816804f4befb82ad.tar.bz2
qmmp-501a20123427698e3c078583816804f4befb82ad.zip
replaced toAscii by toLatin1
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@6933 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/PlayListFormats')
-rw-r--r--src/plugins/PlayListFormats/xspf/xspfplaylistformat.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/PlayListFormats/xspf/xspfplaylistformat.cpp b/src/plugins/PlayListFormats/xspf/xspfplaylistformat.cpp
index c93aa1624..adea65e0e 100644
--- a/src/plugins/PlayListFormats/xspf/xspfplaylistformat.cpp
+++ b/src/plugins/PlayListFormats/xspf/xspfplaylistformat.cpp
@@ -69,9 +69,9 @@ 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().toAscii()).remove("file://");
+ out << QUrl::fromPercentEncoding(url.toString().toLatin1()).remove("file://");
else
- out << QUrl::fromPercentEncoding(url.toString().toAscii());
+ out << QUrl::fromPercentEncoding(url.toString().toLatin1());
}
else
xml.skipCurrentElement();