aboutsummaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-08-29 09:27:41 +0200
committerdec05eba <dec05eba@protonmail.com>2021-08-29 09:27:41 +0200
commita12c897435e615618b14f5cbdd50c7d01dd291fa (patch)
treedae906a7a4a46f45f77ff2d41c53569b1354d8f6 /src/plugins
parentb4f2787ef695f9957fbf6c8674ef1669d8524b0a (diff)
Allow bookmarking manga from chapters page
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/Manga.cpp6
1 files changed, 6 insertions, 0 deletions
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<BodyItem> MangaChaptersPage::get_bookmark_body_item() {
+ auto body_item = std::make_shared<BodyItem>(content_title);
+ body_item->url = content_url;
+ return body_item;
+ }
} \ No newline at end of file