Add ellipses to various settings actions that have confirm dialogs

This commit is contained in:
Joshua Goins
2025-07-16 17:44:56 -04:00
parent 38987e6d4c
commit 211a08db68
4 changed files with 4 additions and 4 deletions

View File

@@ -106,7 +106,7 @@ KirigamiComponents.ConvergentContextMenu {
} }
QQC2.Action { QQC2.Action {
text: i18n("Logout") text: i18n("Logout")
icon.name: "im-kick-user" icon.name: "im-kick-user"
onTriggered: confirmLogoutDialogComponent.createObject(root).open() onTriggered: confirmLogoutDialogComponent.createObject(root).open()
} }

View File

@@ -252,7 +252,7 @@ FormCard.FormCardPage {
FormCard.FormCard { FormCard.FormCard {
FormCard.FormButtonDelegate { FormCard.FormButtonDelegate {
id: deactivateAccountButton id: deactivateAccountButton
text: i18n("Deactivate Account") text: i18nc("@action:button", "Deactivate Account")
icon.name: "trash-empty-symbolic" icon.name: "trash-empty-symbolic"
onClicked: { onClicked: {
const component = Qt.createComponent('org.kde.neochat', 'ConfirmDeactivateAccountDialog'); const component = Qt.createComponent('org.kde.neochat', 'ConfirmDeactivateAccountDialog');

View File

@@ -85,7 +85,7 @@ FormCard.FormCardPage {
} }
QQC2.ToolButton { QQC2.ToolButton {
text: i18n("Logout") text: i18n("Logout")
icon.name: "im-kick-user" icon.name: "im-kick-user"
onClicked: confirmLogoutDialogComponent.createObject(root.QQC2.Overlay.overlay).open() onClicked: confirmLogoutDialogComponent.createObject(root.QQC2.Overlay.overlay).open()
} }

View File

@@ -345,7 +345,7 @@ FormCard.FormCardPage {
FormCard.FormCard { FormCard.FormCard {
FormCard.FormButtonDelegate { FormCard.FormButtonDelegate {
icon.name: "kt-restore-defaults-symbolic" icon.name: "kt-restore-defaults-symbolic"
text: i18nc("@action:button", "Reset all configuration values to their default") text: i18nc("@action:button", "Reset all configuration values to their default")
onClicked: resetDialog.open() onClicked: resetDialog.open()
} }
} }