Reduce avatar cache size

This commit is contained in:
Nicolas Werner 2020-01-14 17:48:01 +01:00
parent 3f02b0bf56
commit cdb11b1819

View file

@ -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())