21f954d94d
You can assign a QAction as "action", this way you can just pass it e.g. plasmoid.action("configure"). However, when assigning a null action as can happen with kiosk restrictions, it would crash as it assigns m_action the nullptr but never checks for that. This patch ensures we always have a QAction, creating a new empty one, if neccessary. Also deletes our own action if an external one is assigned Differential Revision: https://phabricator.kde.org/D6608