Fix accents issue in when save playlist in xspf format

This commit is contained in:
Chocobozzz 2014-11-30 10:36:36 +01:00
parent 9cdb31c2d8
commit 824526618c
1 changed files with 1 additions and 1 deletions

View File

@ -121,7 +121,7 @@ void XSPFParser::Save(const SongList& songs, QIODevice* device, const QDir& dir,
StreamElement tracklist("trackList", &writer);
for (const Song& song : songs) {
QString filename_or_url =
URLOrFilename(song.url(), dir, path_type).toUtf8();
URLOrFilename(song.url(), dir, path_type);
StreamElement track("track", &writer);
writer.writeTextElement("location", filename_or_url);