aboutsummaryrefslogtreecommitdiff
path: root/plugins/Info.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-05-22 10:59:04 +0200
committerdec05eba <dec05eba@protonmail.com>2021-05-22 10:59:04 +0200
commit31b99befbe173508554cdd808c3947f45cc24ea3 (patch)
tree32c608cfe99e798ac06d35c311ef3066465bced9 /plugins/Info.hpp
parent58f8ddf56649a3342b500b8526f1cee2593b4562 (diff)
Temporary fix for crash when resizing (text is deallocated when hidden), fix text randomly getting glitched out
Diffstat (limited to 'plugins/Info.hpp')
-rw-r--r--plugins/Info.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/Info.hpp b/plugins/Info.hpp
index d2d9db3..4ab39f5 100644
--- a/plugins/Info.hpp
+++ b/plugins/Info.hpp
@@ -8,6 +8,7 @@ namespace QuickMedia {
InfoPage(Program *program) : Page(program) {}
const char* get_title() const override { return "Info"; }
PluginResult submit(const std::string &title, const std::string &url, std::vector<Tab> &result_tabs) override;
+ bool submit_is_async() override { return false; }
static std::shared_ptr<BodyItem> add_url(const std::string &url);
static std::shared_ptr<BodyItem> add_reverse_image_search(const std::string &image_url);