From 9799803529c57930a0e7f12e45cbcf2b2e4419eb Mon Sep 17 00:00:00 2001 From: dec05eba Date: Thu, 28 May 2020 02:08:40 +0200 Subject: Add support for mangadex --- src/Body.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Body.cpp') diff --git a/src/Body.cpp b/src/Body.cpp index c892c4e..8ccb3cc 100644 --- a/src/Body.cpp +++ b/src/Body.cpp @@ -112,6 +112,7 @@ namespace QuickMedia { loading_thumbnail = true; thumbnail_load_thread = std::thread([this, result, url]() { std::string texture_data; + // TODO: Cache images instead of redownloading them everytime they appear on the screen 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(); -- cgit v1.2.3