mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-10-30 17:40:47 +03:00
Reduce avatar cache size
This commit is contained in:
parent
3f02b0bf56
commit
cdb11b1819
1 changed files with 0 additions and 2 deletions
|
@ -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())
|
||||
|
|
Loading…
Reference in a new issue