Skip to content

Commit

Permalink
Merge pull request clementine-player#4630 from Chocobozzz/xspfparser_fix
Browse files Browse the repository at this point in the history
Fix accents issue in when save playlist in xspf format
  • Loading branch information
hatstand committed Nov 30, 2014
2 parents 9f53884 + 8245266 commit 39e6d07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/playlistparsers/xspfparser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 39e6d07

Please sign in to comment.