aboutsummaryrefslogtreecommitdiff
path: root/src/Body.cpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2019-12-20 02:37:18 +0100
committerdec05eba <dec05eba@protonmail.com>2019-12-20 02:37:18 +0100
commitad23cbf1343c744eded60736c98370d2ed99f753 (patch)
tree8146799f89aa1678c9e472bdfb5e8c73c4462b71 /src/Body.cpp
parent5ef35784af24e5fcaa0f8570c23299d01b46412a (diff)
Fix tor not used for all connections when enabled
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 50d46ce..c892c4e 100644
--- a/src/Body.cpp
+++ b/src/Body.cpp
@@ -112,7 +112,7 @@ namespace QuickMedia {
loading_thumbnail = true;
thumbnail_load_thread = std::thread([this, result, url]() {
std::string texture_data;
- if(download_to_string(url, texture_data) == DownloadResult::OK) {
+ if(download_to_string(url, texture_data, {}, program->get_current_plugin()->use_tor) == DownloadResult::OK) {
if(result->loadFromMemory(texture_data.data(), texture_data.size())) {
//result->generateMipmap();
}