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

Authored by icota on Feb 16 2018, 11:04 PM.

Description

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

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

Reviewers: Kirigami, mart

Reviewed By: Kirigami, mart

Subscribers: plasma-devel

Tags: Kirigami

Differential Revision: https://phabricator.kde.org/D10482

Details

Committed
icotaFeb 16 2018, 11:05 PM
Reviewer
Kirigami
Differential Revision
D10482: Add an isNull() check before setting wheter QIcon is a mask
Parents
R169:bed2722949b6: Add FormLayout.qml to kirigami.qrc
Branches
Unknown
Tags
Unknown