Reduce avatar cache size
This commit is contained in:
parent
3f02b0bf56
commit
cdb11b1819
@ -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 New Issue
Block a user