D5506: Don't even try to create icons with empty sizes
Aleix Pol Gonzalez
noreply at phabricator.kde.org
Wed Apr 19 11:17:52 UTC 2017
apol created this revision.
Restricted Application added a project: Frameworks.
REVISION SUMMARY
It's not enough to have QSize::isValid, as it needs both width and height
to be 0, so we explicitly check it.
Fixes a warning about writing into an empty image.
REPOSITORY
R302 KIconThemes
BRANCH
master
REVISION DETAIL
https://phabricator.kde.org/D5506
AFFECTED FILES
src/kiconengine.cpp
To: apol, #frameworks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20170419/9b861180/attachment.html>
More information about the Kde-frameworks-devel
mailing list