1
0
mirror of https://github.com/clementine-player/Clementine synced 2025-02-06 06:03:23 +01:00

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

View File

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