Replace deprecated usage of iconName with icon.name

This commit is contained in:
Joshua Goins
2023-01-27 20:08:58 -05:00
committed by Tobias Fella
parent 38dcefffcb
commit 765a95050d
5 changed files with 16 additions and 16 deletions

View File

@@ -115,7 +115,7 @@ Kirigami.ScrollablePage {
action: Kirigami.Action {
id: editDeviceAction
text: i18n("Edit device name")
iconName: "document-edit"
icon.name: "document-edit"
onTriggered: deviceDelegate.editDeviceName = true
}
QQC2.ToolTip {
@@ -129,7 +129,7 @@ Kirigami.ScrollablePage {
action: Kirigami.Action {
id: verifyDeviceAction
text: i18n("Verify device")
iconName: "security-low-symbolic"
icon.name: "security-low-symbolic"
onTriggered: {
devices.connection.startKeyVerificationSession(devices.connection.localUserId, model.id)
}
@@ -144,7 +144,7 @@ Kirigami.ScrollablePage {
action: Kirigami.Action {
id: logoutDeviceAction
text: i18n("Logout device")
iconName: "edit-delete-remove"
icon.name: "edit-delete-remove"
onTriggered: {
passwordSheet.index = index
passwordSheet.open()

View File

@@ -35,18 +35,18 @@ Kirigami.CategorizedSettings {
},
Kirigami.SettingAction {
text: i18n("Spell Checking")
iconName: "tools-check-spelling"
icon.name: "tools-check-spelling"
page: Qt.resolvedUrl("SonnetConfigPage.qml")
visible: Qt.platform.os !== "android"
},
Kirigami.SettingAction {
text: i18n("Network Proxy")
iconName: "network-connect"
icon.name: "network-connect"
page: Qt.resolvedUrl("NetworkProxyPage.qml")
},
Kirigami.SettingAction {
text: i18n("Devices")
iconName: "computer"
icon.name: "computer"
page: Qt.resolvedUrl("DevicesPage.qml")
},
Kirigami.SettingAction {