aboutsummaryrefslogtreecommitdiff
path: root/src/Body.cpp
diff options
context:
space:
mode:
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);