Use the updated folders

This commit is contained in:
Luis Ángel San Martín 2022-10-24 07:38:17 +02:00
parent a2541a4c96
commit 3fecc3316e

View File

@ -760,7 +760,7 @@ Folder DBHelper::updateChildrenInfo(qulonglong folderId, QSqlDatabase &db)
auto c = static_cast<ComicDB *>(comics[0]);
coverHash = c->info.hash;
} else {
for (auto item : subfolders) {
for (auto item : updatedSubfolders) {
auto f = static_cast<Folder *>(item);
auto firstChildHash = f->getFirstChildHash();
if (!firstChildHash.isEmpty()) {