From f7f45ddc492b992cc49a92f620e37316e4d1fed4 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Thu, 3 Feb 2022 19:06:23 +0100 Subject: Add thumbnail to bookmarked manga page --- src/plugins/MangaGeneric.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/plugins/MangaGeneric.cpp') diff --git a/src/plugins/MangaGeneric.cpp b/src/plugins/MangaGeneric.cpp index 98dc708..e25fd96 100644 --- a/src/plugins/MangaGeneric.cpp +++ b/src/plugins/MangaGeneric.cpp @@ -366,7 +366,8 @@ namespace QuickMedia { auto body = create_body(); body->set_items(std::move(chapters_items)); - result_tabs.push_back(Tab{std::move(body), std::make_unique(program, title, url, manga_id_extractor, service_name, website_url, &list_page_query, fail_on_http_error), create_search_bar("Search...", SEARCH_DELAY_FILTER)}); + auto chapters_page = std::make_unique(program, title, url, submit_body_item->thumbnail_url, manga_id_extractor, service_name, website_url, &list_page_query, fail_on_http_error); + result_tabs.push_back(Tab{std::move(body), std::move(chapters_page), create_search_bar("Search...", SEARCH_DELAY_FILTER)}); for(auto &it : creators) { Creator creator; -- cgit v1.2.3