Fix usage of deprecated find

This commit is contained in:
Nicolas Werner 2019-08-28 08:21:07 +02:00
parent 8b5515d5c1
commit c5f0c3221f
2 changed files with 1 additions and 2 deletions

View file

@ -42,7 +42,7 @@ resolve(const QString &avatarUrl, int size, QObject *receiver, AvatarCallback ca
return;
QPixmap pixmap;
if (avatar_cache.find(cacheKey, pixmap)) {
if (avatar_cache.find(cacheKey, &pixmap)) {
nhlog::net()->info("cached pixmap {}", avatarUrl.toStdString());
callback(pixmap);
return;