Fix accents issue in when save playlist in xspf format
This commit is contained in:
parent
9cdb31c2d8
commit
824526618c
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue