From 0d432776c13f7b7bfd94d8ea2a7a41be33f21c8d Mon Sep 17 00:00:00 2001 From: dec05eba Date: Fri, 23 Oct 2020 23:57:29 +0200 Subject: Set nyaa.si avatar thumbnail size to 120x120 --- src/plugins/NyaaSi.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/plugins') 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); -- cgit v1.2.3