mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
port item delegates iconName to icon.name
This commit is contained in:
parent
194b26c8a2
commit
6d22b48cc4
2 changed files with 5 additions and 5 deletions
|
|
@ -66,24 +66,24 @@ Kirigami.SwipeListItem {
|
|||
|
||||
actions: [
|
||||
Kirigami.Action {
|
||||
iconName: "network-connect"
|
||||
icon.name: "network-connect"
|
||||
visible: ConnectionState != PlasmaNM.Enums.Activated
|
||||
onTriggered: changeState()
|
||||
},
|
||||
Kirigami.Action {
|
||||
iconName: "network-disconnect"
|
||||
icon.name: "network-disconnect"
|
||||
visible: ConnectionState == PlasmaNM.Enums.Activated
|
||||
onTriggered: handler.deactivateConnection(ConnectionPath, DevicePath)
|
||||
},
|
||||
Kirigami.Action {
|
||||
iconName: "configure"
|
||||
icon.name: "configure"
|
||||
visible: (Uuid != "")? true : false
|
||||
onTriggered: {
|
||||
kcm.push("NetworkSettings.qml", {path: ConnectionPath})
|
||||
}
|
||||
},
|
||||
Kirigami.Action {
|
||||
iconName: "entry-delete"
|
||||
icon.name: "entry-delete"
|
||||
visible: (Uuid != "")? true : false
|
||||
onTriggered: handler.removeConnection(ConnectionPath)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -82,7 +82,7 @@ ScrollViewKCM {
|
|||
text: i18n("Wi-Fi is disabled")
|
||||
icon.name: "network-wireless-disconnected"
|
||||
helpfulAction: Kirigami.Action {
|
||||
iconName: "network-wireless-connected"
|
||||
icon.name: "network-wireless-connected"
|
||||
text: i18n("Enable")
|
||||
onTriggered: handler.enableWireless(true)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue