Fix bug (check null didn't work)
Summary: Found a bug when adding this component to system settings, != null didn't work
Test Plan: Tested with applications already using this component with a shortcut (discover, okular mobile discover) no regression. And work with my local build of system settings
Reviewers: Kirigami, mart, apol
Reviewed By: Kirigami, mart
Subscribers: plasma-devel
Tags: Kirigami
Differential Revision: https://phabricator.kde.org/D19314