Commit ed50ac6a authored by Fushan Wen's avatar Fushan Wen 💬
Browse files

desktoppackage: add `Accessible.name` to email button


(cherry picked from commit 4b83bfb0)
parent bab58e08
Pipeline #199506 passed with stage
in 2 minutes and 47 seconds
......@@ -40,9 +40,14 @@ Kirigami.ScrollablePage {
visible: modelData.emailAddress
width: height
icon.name: "mail-sent"
display: QQC2.AbstractButton.IconOnly
text: i18nd("plasma_shell_org.kde.plasma.desktop", "Send an email to %1", modelData.emailAddress)
QQC2.ToolTip.delay: Kirigami.Units.toolTipDelay
QQC2.ToolTip.visible: hovered
QQC2.ToolTip.text: i18nd("plasma_shell_org.kde.plasma.desktop", "Send an email to %1", modelData.emailAddress)
QQC2.ToolTip.text: text
onClicked: Qt.openUrlExternally("mailto:%1".arg(modelData.emailAddress))
}
QQC2.ToolButton {
......
Supports Markdown
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