From 4140d7a30121aca34093afe5f52da9c08951f508 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Thu, 17 Feb 2022 19:21:51 +0100 Subject: local-anime: remove bookmarking for now --- src/plugins/LocalAnime.cpp | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'src') diff --git a/src/plugins/LocalAnime.cpp b/src/plugins/LocalAnime.cpp index 9b1205a..b78772d 100644 --- a/src/plugins/LocalAnime.cpp +++ b/src/plugins/LocalAnime.cpp @@ -327,17 +327,6 @@ namespace QuickMedia { return PluginResult::OK; } - std::shared_ptr LocalAnimeSearchPage::get_bookmark_body_item(BodyItem *selected_item) { - if(!selected_item) - return nullptr; - - std::string filename_relative_to_anime_dir = selected_item->url.substr(get_config().local_anime.directory.size() + 1); - auto body_item = BodyItem::create(filename_relative_to_anime_dir); - body_item->url = filename_relative_to_anime_dir; - body_item->thumbnail_url = selected_item->thumbnail_url; - return body_item; - } - void LocalAnimeSearchPage::toggle_read(BodyItem *selected_item) { if(!selected_item) return; -- cgit v1.2.3