From 8453224119a4c5ff7d47d9cd4924d0b1ccb99b3a Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Sat, 25 Nov 2017 18:00:06 +0000 Subject: copy 1.2 branch to trunk git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@7772 90c681e8-e032-0410-971d-27865f9a5e38 --- src/plugins/PlayListFormats/xspf/xspfplaylistformat.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/plugins/PlayListFormats/xspf/xspfplaylistformat.cpp') diff --git a/src/plugins/PlayListFormats/xspf/xspfplaylistformat.cpp b/src/plugins/PlayListFormats/xspf/xspfplaylistformat.cpp index 562b8d154..f20c83903 100644 --- a/src/plugins/PlayListFormats/xspf/xspfplaylistformat.cpp +++ b/src/plugins/PlayListFormats/xspf/xspfplaylistformat.cpp @@ -41,7 +41,7 @@ QList XSPFPlaylistFormat::decode(const QByteArray &contents) { QList out; QString currentTag; - QString contents_copy = QString::fromUtf8(contents.constData()); + QString contents_copy = QString::fromUtf8(contents); //remove control symbols to avoid xml errors for(int i = 0; i < contents_copy.size(); ++i) @@ -168,5 +168,3 @@ QByteArray XSPFPlaylistFormat::encode(const QList &files, const xml.writeEndDocument(); return out; } - -Q_EXPORT_PLUGIN2(xspfplaylistformat,XSPFPlaylistFormat) -- cgit v1.2.3-13-gbd6f