Commit 27efc1c2 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

Make QuickShare plasmoid compatible with Purpose 1.1

BUG: 380883
parent a8bb43cd
......@@ -47,7 +47,16 @@ PlasmaCore.Dialog
Layout.fillHeight: true
inputData: window.inputData
pluginType: "Export"
highlight: PlasmaComponents.Highlight {}
Component {
id: highlightComponent
PlasmaComponents.Highlight {}
}
Component.onCompleted: {
if (view.hasOwnProperty("highlight")) { //Purpose 1.1 doesn't have highlight
view.highlight = highlightComponent
}
}
delegate: PlasmaComponents.ListItem {
enabled: true
......
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