aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/PlayListFormats/xspf/xspfplaylistformat.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/PlayListFormats/xspf/xspfplaylistformat.cpp')
-rw-r--r--src/plugins/PlayListFormats/xspf/xspfplaylistformat.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/PlayListFormats/xspf/xspfplaylistformat.cpp b/src/plugins/PlayListFormats/xspf/xspfplaylistformat.cpp
index 7a69aab81..562b8d154 100644
--- a/src/plugins/PlayListFormats/xspf/xspfplaylistformat.cpp
+++ b/src/plugins/PlayListFormats/xspf/xspfplaylistformat.cpp
@@ -41,7 +41,7 @@ QList<PlayListTrack*> XSPFPlaylistFormat::decode(const QByteArray &contents)
{
QList<PlayListTrack*> out;
QString currentTag;
- QString contents_copy = QString::fromUtf8(contents);
+ QString contents_copy = QString::fromUtf8(contents.constData());
//remove control symbols to avoid xml errors
for(int i = 0; i < contents_copy.size(); ++i)