diff --git a/src/collection/collectionbackend.h b/src/collection/collectionbackend.h index d4a6ac8da..e20eeab48 100644 --- a/src/collection/collectionbackend.h +++ b/src/collection/collectionbackend.h @@ -53,7 +53,7 @@ class CollectionBackendInterface : public QObject { explicit CollectionBackendInterface(QObject *parent = nullptr) : QObject(parent) {} 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 &_urls, const Song::FileType _filetype, const QString &_cue_path) : album_artist(_album_artist), album(_album),