diff options
Diffstat (limited to 'plugins/LocalAnime.hpp')
-rw-r--r-- | plugins/LocalAnime.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/LocalAnime.hpp b/plugins/LocalAnime.hpp index 4d51e24..6edf1c8 100644 --- a/plugins/LocalAnime.hpp +++ b/plugins/LocalAnime.hpp @@ -32,6 +32,8 @@ namespace QuickMedia { class LocalAnimeSearchPage : public LazyFetchPage { public: + LocalAnimeSearchPage(Program *program) + : LazyFetchPage(program), parent_search_page(nullptr), fetch_home_page(true) {} LocalAnimeSearchPage(Program *program, std::vector<LocalAnimeItem> anime_items, LocalAnimeSearchPage *parent_search_page = nullptr) : LazyFetchPage(program), parent_search_page(parent_search_page), anime_items(std::move(anime_items)) {} const char* get_title() const override { return "Search"; } @@ -44,6 +46,7 @@ namespace QuickMedia { LocalAnimeSearchPage *parent_search_page; private: std::vector<LocalAnimeItem> anime_items; + bool fetch_home_page = false; }; class LocalAnimeVideoPage : public VideoPage { |