Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Commit 387c7075 authored by Laurent Montel's avatar Laurent Montel 😁

Fix show gravatar when pixmap is in cache

parent 9bcfaba1
......@@ -65,6 +65,7 @@ bool GravatarResolvUrlJob::hasGravatar() const
void GravatarResolvUrlJob::start()
mHasGravatar = false;
if (canStart()) {
const KUrl url = createUrl();
......@@ -73,6 +74,7 @@ void GravatarResolvUrlJob::start()
const QPixmap pix = GravatarCache::self()->loadGravatarPixmap(mCalculatedHash, haveStoredPixmap);
if (haveStoredPixmap && !pix.isNull()) {
mPixmap = pix;
mHasGravatar = true;
Q_EMIT finished(this);
} else {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment