D10482: Add an isNull() check before setting wheter QIcon is a mask

Igor Cota noreply at phabricator.kde.org
Tue Feb 13 14:38:31 UTC 2018


icota created this revision.
icota added a reviewer: Kirigami.
icota added a project: Kirigami.
Restricted Application added a subscriber: plasma-devel.
icota requested review of this revision.

REVISION SUMMARY
  To avoid stepping on a null QIcon. This can happen when calling ::fromTheme with a icon name that doesn't exist on the platform

REPOSITORY
  R169 Kirigami

REVISION DETAIL
  https://phabricator.kde.org/D10482

AFFECTED FILES
  src/libkirigami/platformtheme.cpp

To: icota, #kirigami
Cc: plasma-devel, apol, davidedmundson, mart, hein
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20180213/4a8760db/attachment.html>


More information about the Plasma-devel mailing list