D6343: Add a check for whether the item isn't actually visible
Aleix Pol Gonzalez
noreply at phabricator.kde.org
Thu Jun 22 14:21:10 UTC 2017
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20170622/70919d4e/attachment.html>
More information about the Plasma-devel
mailing list