Initialize manga field to false in Folder

This commit is contained in:
Luis Ángel San Martín 2022-04-13 19:13:58 +02:00
parent 51e3b2618a
commit 4a59271ebd

View File

@ -3,6 +3,7 @@
Folder::Folder() Folder::Folder()
: knownParent(false), : knownParent(false),
knownId(false), knownId(false),
manga(false),
numChildren(-1) numChildren(-1)
{ {
} }
@ -10,6 +11,7 @@ Folder::Folder()
Folder::Folder(qulonglong folderId, qulonglong parentId, const QString &folderName, const QString &folderPath) Folder::Folder(qulonglong folderId, qulonglong parentId, const QString &folderName, const QString &folderPath)
: knownParent(true), : knownParent(true),
knownId(true), knownId(true),
manga(false),
numChildren(-1) numChildren(-1)
{ {
this->id = folderId; this->id = folderId;