Verified Commit 64009379 authored by Melvin Keskin's avatar Melvin Keskin Committed by Jonah Brüchert

Use 'icon.name' instead of 'iconName' consistently

parent d1da9fec
......@@ -45,7 +45,7 @@ Kirigami.GlobalDrawer {
actions: [
Kirigami.Action {
text: qsTr("Invite friends")
iconName: "mail-invitation"
icon.name: "mail-invitation"
onTriggered: {
Utils.copyToClipboard(Utils.invitationUrl(kaidan.jid))
passiveNotification(qsTr("Invitation link copied to clipboard"))
......@@ -53,7 +53,7 @@ Kirigami.GlobalDrawer {
},
Kirigami.Action {
text: qsTr("Log out")
iconName: "system-shutdown"
icon.name: "system-shutdown"
onTriggered: {
closeAdditionalLayers()
// disconnect (open log in page)
......@@ -62,7 +62,7 @@ Kirigami.GlobalDrawer {
},
Kirigami.Action {
text: qsTr("Settings")
iconName: "settings-configure"
icon.name: "settings-configure"
onTriggered: {
// open settings page
if (Kirigami.Settings.isMobile) {
......@@ -75,7 +75,7 @@ Kirigami.GlobalDrawer {
},
Kirigami.Action {
text: qsTr("About")
iconName: "help-about"
icon.name: "help-about"
onTriggered: {
closeAdditionalLayers()
// open about sheet
......
......@@ -53,7 +53,7 @@ Kirigami.ScrollablePage {
mainAction: Kirigami.Action {
text: qsTr("Add new contact")
iconName: "contact-new"
icon.name: "contact-new"
onTriggered: {
if (addContactSheet.sheetOpen)
addContactSheet.close()
......
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