add menu icons

This commit is contained in:
Piyush Aggarwal 2019-03-19 14:42:12 +00:00 committed by Nicolas Fella
parent a922ca570d
commit ad14953c21

View file

@ -62,10 +62,12 @@ Kirigami.Page
ListView {
property list<QtObject> actions: [
Kirigami.Action {
iconName:"network-disconnect"
onTriggered: deviceView.currentDevice.unpair()
text: i18n("Unpair")
},
Kirigami.Action {
iconName:"hands-free"
text: i18n("Send Ping")
onTriggered: {
deviceView.currentDevice.pluginCall("ping", "sendPing");