aboutsummaryrefslogtreecommitdiff
path: root/plugins/NyaaSi.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/NyaaSi.hpp')
-rw-r--r--plugins/NyaaSi.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/NyaaSi.hpp b/plugins/NyaaSi.hpp
index 6f161ac..f113544 100644
--- a/plugins/NyaaSi.hpp
+++ b/plugins/NyaaSi.hpp
@@ -54,7 +54,7 @@ namespace QuickMedia {
NyaaSiSortOrderPage(Program *program, Body *body, NyaaSiSearchPage *search_page) : Page(program), body(body), search_page(search_page) {}
const char* get_title() const override { return "Sort order"; }
PluginResult submit(const std::string &title, const std::string &url, std::vector<Tab> &result_tabs) override;
- bool submit_is_async() override { return false; }
+ bool submit_is_async() const override { return false; }
private:
Body *body;
NyaaSiSearchPage *search_page;
@@ -65,6 +65,6 @@ namespace QuickMedia {
NyaaSiTorrentPage(Program *program) : Page(program) {}
const char* get_title() const override { return "Torrent"; }
PluginResult submit(const std::string &title, const std::string &url, std::vector<Tab> &result_tabs) override;
- bool submit_is_async() override { return false; }
+ bool submit_is_async() const override { return false; }
};
} \ No newline at end of file