diff options
Diffstat (limited to 'framework')
-rw-r--r-- | framework/qml/AttachmentDelegate.qml | 2 | ||||
-rw-r--r-- | framework/qml/MailViewer.qml | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/framework/qml/AttachmentDelegate.qml b/framework/qml/AttachmentDelegate.qml index 4469cbdd..b98e8ba9 100644 --- a/framework/qml/AttachmentDelegate.qml +++ b/framework/qml/AttachmentDelegate.qml | |||
@@ -26,6 +26,7 @@ Item { | |||
26 | property string type | 26 | property string type |
27 | property string icon | 27 | property string icon |
28 | property alias actionIcon: actionButton.iconName | 28 | property alias actionIcon: actionButton.iconName |
29 | property alias actionTooltip: actionButton.tooltip | ||
29 | signal clicked; | 30 | signal clicked; |
30 | signal execute; | 31 | signal execute; |
31 | signal publicKeyImport; | 32 | signal publicKeyImport; |
@@ -78,6 +79,7 @@ Item { | |||
78 | width: height | 79 | width: height |
79 | onClicked: root.publicKeyImport() | 80 | onClicked: root.publicKeyImport() |
80 | padding: 0 | 81 | padding: 0 |
82 | tooltip: qsTr("Import key") | ||
81 | } | 83 | } |
82 | Kube.IconButton { | 84 | Kube.IconButton { |
83 | id: actionButton | 85 | id: actionButton |
diff --git a/framework/qml/MailViewer.qml b/framework/qml/MailViewer.qml index a43c99e9..cb40a8f5 100644 --- a/framework/qml/MailViewer.qml +++ b/framework/qml/MailViewer.qml | |||
@@ -290,6 +290,7 @@ Rectangle { | |||
290 | clip: true | 290 | clip: true |
291 | 291 | ||
292 | actionIcon: Kube.Icons.save_inverted | 292 | actionIcon: Kube.Icons.save_inverted |
293 | actionTooltip: qsTr("Save attachment") | ||
293 | onExecute: messageParser.attachments.saveAttachmentToDisk(messageParser.attachments.index(index, 0)) | 294 | onExecute: messageParser.attachments.saveAttachmentToDisk(messageParser.attachments.index(index, 0)) |
294 | onClicked: messageParser.attachments.openAttachment(messageParser.attachments.index(index, 0)) | 295 | onClicked: messageParser.attachments.openAttachment(messageParser.attachments.index(index, 0)) |
295 | onPublicKeyImport: messageParser.attachments.importPublicKey(messageParser.attachments.index(index, 0)) | 296 | onPublicKeyImport: messageParser.attachments.importPublicKey(messageParser.attachments.index(index, 0)) |