From e67b9899feb72027b246e3b63ce5aa0ccae2dd16 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sat, 30 Nov 2019 20:23:07 +0100 Subject: Add image board (4chan) comment navigation --- src/Body.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/Body.cpp') diff --git a/src/Body.cpp b/src/Body.cpp index 4976a1f..078c4fc 100644 --- a/src/Body.cpp +++ b/src/Body.cpp @@ -104,8 +104,10 @@ namespace QuickMedia { thumbnail_load_thread = std::thread([this, result, url]() { std::string texture_data; if(program->get_current_plugin()->download_to_string(url, texture_data) == DownloadResult::OK) { - if(result->loadFromMemory(texture_data.data(), texture_data.size())) - result->generateMipmap(); + if(result->loadFromMemory(texture_data.data(), texture_data.size())) { + //result->generateMipmap(); + result->setSmooth(true); + } } loading_thumbnail = false; }); -- cgit v1.2.3