add icons for pair, accept, reject

This commit is contained in:
Rituka Patwal 2019-03-26 12:30:04 +00:00 committed by Nicolas Fella
parent abce7a194c
commit d0cb028a84

View file

@ -153,8 +153,8 @@ Kirigami.Page
readonly property var actions: [] readonly property var actions: []
Button { Button {
anchors.centerIn: parent anchors.centerIn: parent
text: i18n("Pair") text: i18n("Pair")
icon.name:"network-connect"
onClicked: deviceView.currentDevice.requestPair() onClicked: deviceView.currentDevice.requestPair()
} }
} }
@ -167,11 +167,13 @@ Kirigami.Page
anchors.centerIn: parent anchors.centerIn: parent
Button { Button {
text: i18n("Accept") text: i18n("Accept")
icon.name:"dialog-ok"
onClicked: deviceView.currentDevice.acceptPairing() onClicked: deviceView.currentDevice.acceptPairing()
} }
Button { Button {
text: i18n("Reject") text: i18n("Reject")
icon.name:"dialog-cancel"
onClicked: deviceView.currentDevice.rejectPairing() onClicked: deviceView.currentDevice.rejectPairing()
} }
} }