diff options
author | dec05eba <dec05eba@protonmail.com> | 2022-02-03 19:06:23 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2022-02-03 19:06:23 +0100 |
commit | f7f45ddc492b992cc49a92f620e37316e4d1fed4 (patch) | |
tree | 4269403c18b067c0fb6b5b397ae368d019fabdc2 /src/plugins/MangaGeneric.cpp | |
parent | 39ab966ebf9c23c8e801a904836a73be56b5ab92 (diff) |
Add thumbnail to bookmarked manga page
Diffstat (limited to 'src/plugins/MangaGeneric.cpp')
-rw-r--r-- | src/plugins/MangaGeneric.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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<MangaGenericChaptersPage>(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<MangaGenericChaptersPage>(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; |