diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2020-01-14 17:48:01 +0100 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2020-01-14 17:48:01 +0100 |
commit | cdb11b181914528e3fd52cec5d16e760c863d662 (patch) | |
tree | 8b6e2800ead9cbaa9e11a12493be964eee4db181 /src | |
parent | Escape blacklisted html tags (diff) | |
download | nheko-cdb11b181914528e3fd52cec5d16e760c863d662.tar.xz |
Reduce avatar cache size
Diffstat (limited to 'src')
-rw-r--r-- | src/AvatarProvider.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/AvatarProvider.cpp b/src/AvatarProvider.cpp index 1587a9a1..b91657bc 100644 --- a/src/AvatarProvider.cpp +++ b/src/AvatarProvider.cpp @@ -31,8 +31,6 @@ namespace AvatarProvider { void resolve(const QString &avatarUrl, int size, QObject *receiver, AvatarCallback callback) { - avatar_cache.setCacheLimit(1024 * 1024); - const auto cacheKey = avatarUrl + "_size_" + size; if (avatarUrl.isEmpty()) |