aboutsummaryrefslogtreecommitdiff
path: root/src/Body.cpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2019-12-01 18:05:16 +0100
committerdec05eba <dec05eba@protonmail.com>2019-12-01 18:05:16 +0100
commit6c7adadf6d5c85d5e280e965d4dee1563bf46821 (patch)
treefecdef2d933e0e83e23e0d87bf42139820490bbc /src/Body.cpp
parent129d842030fa993e800009ec0ab170f109e8e899 (diff)
Add 4chan posting
Diffstat (limited to 'src/Body.cpp')
-rw-r--r--src/Body.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Body.cpp b/src/Body.cpp
index 5ac8466..5147767 100644
--- a/src/Body.cpp
+++ b/src/Body.cpp
@@ -107,7 +107,7 @@ namespace QuickMedia {
loading_thumbnail = true;
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(download_to_string(url, texture_data) == DownloadResult::OK) {
if(result->loadFromMemory(texture_data.data(), texture_data.size())) {
//result->generateMipmap();
result->setSmooth(true);