diff options
author | dec05eba <dec05eba@protonmail.com> | 2019-11-30 20:23:07 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2019-11-30 20:23:07 +0100 |
commit | e67b9899feb72027b246e3b63ce5aa0ccae2dd16 (patch) | |
tree | f13feac1d176fe12a68d685ab2894da72abe905b /src/Body.cpp | |
parent | e2ef465bb606a18e097fd143953e24b4f927241d (diff) |
Add image board (4chan) comment navigation
Diffstat (limited to 'src/Body.cpp')
-rw-r--r-- | src/Body.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
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; }); |