From 0d8293a5647c2bb10228658f0910515b38ff0d64 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Wed, 21 Oct 2020 21:32:51 +0200 Subject: Workaround sfml image loading thread race condition See: https://github.com/SFML/SFML/issues/1711 Also some other smaller changes --- plugins/Mangadex.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/Mangadex.hpp') diff --git a/plugins/Mangadex.hpp b/plugins/Mangadex.hpp index 9990792..1b238a2 100644 --- a/plugins/Mangadex.hpp +++ b/plugins/Mangadex.hpp @@ -11,7 +11,7 @@ namespace QuickMedia { bool search_is_filter() override { return false; } SearchResult search(const std::string &str, BodyItems &result_items) override; PluginResult submit(const std::string &title, const std::string &url, std::vector &result_tabs) override; - sf::Vector2i get_max_thumbnail_size() override { return sf::Vector2i(101, 141); }; + sf::Vector2i get_thumbnail_max_size() override { return sf::Vector2i(101, 141); }; private: bool get_rememberme_token(std::string &rememberme_token); std::optional rememberme_token; -- cgit v1.2.3