From ed5dbb436a79533e711a170bb91335c9ea7b0b4b Mon Sep 17 00:00:00 2001 From: "James D. Smith" Date: Fri, 18 Mar 2022 16:39:02 -0600 Subject: [PATCH] WPL Parser: Remove out starting whitespace. --- src/playlistparsers/wplparser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/playlistparsers/wplparser.cpp b/src/playlistparsers/wplparser.cpp index d8229c3247..6bdb61b0d7 100644 --- a/src/playlistparsers/wplparser.cpp +++ b/src/playlistparsers/wplparser.cpp @@ -85,9 +85,9 @@ void WplParser::Save(const SongList& songs, QIODevice* device, const QDir& dir, s.endGroup(); QXmlStreamWriter writer(device); + writer.writeProcessingInstruction("wpl", "version=\"1.0\""); writer.setAutoFormatting(true); writer.setAutoFormattingIndent(2); - writer.writeProcessingInstruction("wpl", "version=\"1.0\""); StreamElement smil("smil", &writer);