diff options
author | dec05eba <dec05eba@protonmail.com> | 2020-10-23 23:57:29 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-10-23 23:57:29 +0200 |
commit | 0d432776c13f7b7bfd94d8ea2a7a41be33f21c8d (patch) | |
tree | 432bdaf498d87c55c3c9246f3a2c77e7ed5173b3 /src/plugins | |
parent | b694b38b407d145fcad37ae10b618310d955d267 (diff) |
Set nyaa.si avatar thumbnail size to 120x120
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/NyaaSi.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/NyaaSi.cpp b/src/plugins/NyaaSi.cpp index b6a6488..3fe6526 100644 --- a/src/plugins/NyaaSi.cpp +++ b/src/plugins/NyaaSi.cpp @@ -345,6 +345,7 @@ namespace QuickMedia { const char *src = quickmedia_html_node_get_attribute_value(node, "src"); if(src && item_data->index < item_data->body_items->size()) { (*item_data->body_items)[item_data->index]->thumbnail_url = src; + (*item_data->body_items)[item_data->index]->thumbnail_size = sf::Vector2i(120, 120); item_data->index++; } }, &body_item_image_context); |