From 5f2aad2295bd6a201fcb7725982c079a16b3470c Mon Sep 17 00:00:00 2001 From: jpirnay Date: Fri, 20 Mar 2026 18:42:27 +0100 Subject: [PATCH] Fix --- src/RecentBooksStore.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/RecentBooksStore.cpp b/src/RecentBooksStore.cpp index 49d06b4d..3be81d06 100644 --- a/src/RecentBooksStore.cpp +++ b/src/RecentBooksStore.cpp @@ -22,7 +22,6 @@ RecentBooksStore RecentBooksStore::instance; void RecentBooksStore::addBook(const std::string& path, const std::string& title, const std::string& author, const std::string& series, const std::string& coverBmpPath) { - const std::string& coverBmpPath) { int8_t embeddedStyleOverride = -1; int8_t imageRenderingOverride = -1; @@ -36,9 +35,8 @@ void RecentBooksStore::addBook(const std::string& path, const std::string& title } // Add to front - recentBooks.insert(recentBooks.begin(), {path, title, author, series, coverBmpPath}); recentBooks.insert(recentBooks.begin(), - {path, title, author, coverBmpPath, embeddedStyleOverride, imageRenderingOverride}); + {path, title, author, series, coverBmpPath, embeddedStyleOverride, imageRenderingOverride}); // Trim to max size if (recentBooks.size() > MAX_RECENT_BOOKS) {