Commit 228b216e authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

Fix on older Qt versions

parent 9f402680
......@@ -4,7 +4,7 @@ import org.kde.kirigami 2.0 as Kirigami
Kirigami.Label {
id: control
property Kirigami.Action action: null
property QtObject action: null //some older Qt versions don't support the namespacing in Kirigami.Action
text: action ? action.text : ""
enabled: !action || action.enabled
onClicked: if (action) action.trigger()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment