diff options
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; |