plasma-framework/tests/components
Kai Uwe Broulik 21f954d94d [PlasmaComponents Menu] Don't crash on null action
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
2017-07-11 12:23:39 +02:00
..
busyindicator.qml Migrate BusyIndicator to QtQuick.Controls 2014-11-09 01:16:30 +01:00
button.qml Fix Button minimumWidth property 2015-10-19 11:30:19 +01:00
combobox.qml Use the same text colour for comboboxes as buttons 2014-12-11 15:06:54 +01:00
menu.qml [PlasmaComponents Menu] Don't crash on null action 2017-07-11 12:23:39 +02:00
progressbar.qml Make ProgressBar test cover the 1% case where the FrameSVG used to leak outside 2014-11-10 22:13:41 +01:00
textarea.qml Add component tests 2014-09-25 12:37:44 +02:00
textfield.qml Add an optional reveal password button to TextField 2016-08-15 14:34:15 +01:00
toolbutton.qml Add component tests 2014-09-25 12:37:44 +02:00