aboutsummaryrefslogtreecommitdiff
path: root/include/AsyncImageLoader.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2022-12-16 21:13:38 +0100
committerdec05eba <dec05eba@protonmail.com>2022-12-16 21:47:06 +0100
commit442fc29582b5581111e3ffd286f4f3d282877f3c (patch)
treecfcc2a18381bded582f1054ac8072d448b523edf /include/AsyncImageLoader.hpp
parente47a34f3c4d9f892c002d0dce7fb43a3ca1b4f28 (diff)
Fix bug where image are not removed from loading when not visible
Matrix: fix invites not showing notification
Diffstat (limited to 'include/AsyncImageLoader.hpp')
-rw-r--r--include/AsyncImageLoader.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/AsyncImageLoader.hpp b/include/AsyncImageLoader.hpp
index 986430c..42e7915 100644
--- a/include/AsyncImageLoader.hpp
+++ b/include/AsyncImageLoader.hpp
@@ -27,6 +27,7 @@ namespace QuickMedia {
std::unique_ptr<mgl::Image> image; // Set in another thread. This should be .reset after loading it into |texture|, to save memory
size_t counter = 0;
Path thumbnail_path;
+ std::string url;
};
struct ThumbnailLoadData {