diff options
author | dec05eba <dec05eba@protonmail.com> | 2020-10-21 21:32:51 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-10-21 22:31:36 +0200 |
commit | 0d8293a5647c2bb10228658f0910515b38ff0d64 (patch) | |
tree | e97c10442c73e330672277940aaf0b38d2fc63eb /plugins/Mangatown.hpp | |
parent | 87fb6e5c0cce6e6aba8f646329af6f8070d27c63 (diff) |
Workaround sfml image loading thread race condition
See: https://github.com/SFML/SFML/issues/1711
Also some other smaller changes
Diffstat (limited to 'plugins/Mangatown.hpp')
-rw-r--r-- | plugins/Mangatown.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Mangatown.hpp b/plugins/Mangatown.hpp index 0062d51..10f2500 100644 --- a/plugins/Mangatown.hpp +++ b/plugins/Mangatown.hpp @@ -12,7 +12,7 @@ namespace QuickMedia { SearchResult search(const std::string &str, BodyItems &result_items) override; PluginResult get_page(const std::string &str, int page, BodyItems &result_items) override; PluginResult submit(const std::string &title, const std::string &url, std::vector<Tab> &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 extract_id_from_url(const std::string &url, std::string &manga_id) const; }; |