From 3fecc3316eb7a431bfc0478d899e69a7ea72d404 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20=C3=81ngel=20San=20Mart=C3=ADn?= Date: Mon, 24 Oct 2022 07:38:17 +0200 Subject: [PATCH] Use the updated folders --- YACReaderLibrary/db_helper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/YACReaderLibrary/db_helper.cpp b/YACReaderLibrary/db_helper.cpp index 7da717f4..897bf5bd 100644 --- a/YACReaderLibrary/db_helper.cpp +++ b/YACReaderLibrary/db_helper.cpp @@ -760,7 +760,7 @@ Folder DBHelper::updateChildrenInfo(qulonglong folderId, QSqlDatabase &db) auto c = static_cast(comics[0]); coverHash = c->info.hash; } else { - for (auto item : subfolders) { + for (auto item : updatedSubfolders) { auto f = static_cast(item); auto firstChildHash = f->getFirstChildHash(); if (!firstChildHash.isEmpty()) {