drosca added a comment.
You don't reset the implicitSize anywhere, so if you do setSource(QImage) and then setSource(QIcon) it will still have the implicitSize of the previously set QImage. REPOSITORY R242 Plasma Framework (Library) REVISION DETAIL https://phabricator.kde.org/D5160 To: hein, #plasma, mart, davidedmundson Cc: drosca, plasma-devel, #frameworks, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol