itemAt isn't guaranteed to always return an item, so check the validity of that first before trying to do things with it.
Details
Details
- Reviewers
mart - Group Reviewers
Kirigami - Commits
- R169:e0f56dac7959: Check item validity before using it
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.
Comment Actions
Closed by: https://commits.kde.org/kirigami/6dffeef3c09ef62f7ea2775bf9ec72585755e3d2
(sorry, the commit missed an l so the hook failed, and i can't close it submitted without that hook, and force pushing a new thing just seems... not very nice)