Fix minor code issues

This commit is contained in:
Jonas Kvinge
2019-09-15 20:27:32 +02:00
parent 83e10aac27
commit 2d67279180
147 changed files with 644 additions and 329 deletions

View File

@@ -41,6 +41,8 @@ ASXParser::ASXParser(CollectionBackendInterface *collection, QObject *parent)
SongList ASXParser::Load(QIODevice *device, const QString &playlist_path, const QDir &dir) const {
Q_UNUSED(playlist_path);
// We have to load everything first so we can munge the "XML".
QByteArray data = device->readAll();
@@ -129,7 +131,7 @@ return_song:
}
void ASXParser::Save(const SongList &songs, QIODevice *device, const QDir&, Playlist::Path path_type) const {
void ASXParser::Save(const SongList &songs, QIODevice *device, const QDir&, Playlist::Path) const {
QXmlStreamWriter writer(device);
writer.setAutoFormatting(true);