apol created this revision. Restricted Application added a project: Kirigami. Restricted Application added a subscriber: plasma-devel.
REVISION SUMMARY if width or height is 0 we just get warnings such as: QImage::scaled: Image is a null image And in the end we're performing void operations that we could skip altohether. TEST PLAN Now I can run KAlgebra without the warning REPOSITORY R169 Kirigami BRANCH master REVISION DETAIL https://phabricator.kde.org/D6343 AFFECTED FILES src/desktopicon.cpp To: apol, #kirigami, mart Cc: plasma-devel, apol, mart