apol created this revision. apol added reviewers: Frameworks, Kirigami. Herald added a project: Kirigami. Herald added a subscriber: plasma-devel. apol requested review of this revision.
REVISION SUMMARY Port to using the QImage::load() that takes a QIODevice and only do it when the execution is finished, instead of upon readyRead(). This makes sure that we are only processing the icon when is fully downloaded. BUG: 407409 BUG: 400312 TEST PLAN Reproduced the bug and fixed it REPOSITORY R169 Kirigami BRANCH master REVISION DETAIL https://phabricator.kde.org/D22952 AFFECTED FILES src/icon.cpp src/icon.h To: apol, #frameworks, #kirigami Cc: plasma-devel, fbampaloukas, domson, dkardarakos, apol, davidedmundson, mart, hein