Kirigami gallery would crash on the overlay sheet page due to trying
to access m_theme which is a nullptr if setSource was never called.
Since trying to render an icon with an empty source does not make
much sense, just return when source is empty.
Details
Details
- Reviewers
mart - Group Reviewers
Kirigami - Commits
- R169:a85e5f354c9c: Do not crash when icon's source is empty
Kirigami Gallery no longer crashes on the overlay sheet page.
Diff Detail
Diff Detail
- Repository
- R169 Kirigami
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.