diff options
author | dec05eba <dec05eba@protonmail.com> | 2022-02-17 19:21:51 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2022-02-17 19:21:51 +0100 |
commit | 4140d7a30121aca34093afe5f52da9c08951f508 (patch) | |
tree | 24f10109c333996873db9a580133e0d19706b957 /src | |
parent | 02e029ed40f801e0710b09062069e7083cd30b93 (diff) |
local-anime: remove bookmarking for now
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/LocalAnime.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
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<BodyItem> 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; |