From a12c897435e615618b14f5cbdd50c7d01dd291fa Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sun, 29 Aug 2021 09:27:41 +0200 Subject: Allow bookmarking manga from chapters page --- src/plugins/Manga.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/plugins/Manga.cpp') diff --git a/src/plugins/Manga.cpp b/src/plugins/Manga.cpp index 2c7bae0..3fa5d47 100644 --- a/src/plugins/Manga.cpp +++ b/src/plugins/Manga.cpp @@ -20,4 +20,10 @@ namespace QuickMedia { if(extract_id_from_url(content_url, manga_id)) load_manga_content_storage(get_service_name(), content_title, manga_id); } + + std::shared_ptr MangaChaptersPage::get_bookmark_body_item() { + auto body_item = std::make_shared(content_title); + body_item->url = content_url; + return body_item; + } } \ No newline at end of file -- cgit v1.2.3