CollectionBackendInterface: Initialize filetype

This commit is contained in:
Jonas Kvinge 2023-01-07 23:19:02 +01:00
parent 3ee4dc77b2
commit 2c302654b7
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ class CollectionBackendInterface : public QObject {
explicit CollectionBackendInterface(QObject *parent = nullptr) : QObject(parent) {} explicit CollectionBackendInterface(QObject *parent = nullptr) : QObject(parent) {}
struct Album { struct Album {
Album() {} Album() : filetype(Song::FileType_Unknown) {}
Album(const QString &_album_artist, const QString &_album, const QUrl &_art_automatic, const QUrl &_art_manual, const QList<QUrl> &_urls, const Song::FileType _filetype, const QString &_cue_path) Album(const QString &_album_artist, const QString &_album, const QUrl &_art_automatic, const QUrl &_art_manual, const QList<QUrl> &_urls, const Song::FileType _filetype, const QString &_cue_path)
: album_artist(_album_artist), : album_artist(_album_artist),
album(_album), album(_album),