Commit d5d722eb authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Add missing separator

parent 5ab9e701
Pipeline #59423 failed with stage
in 15 minutes and 17 seconds
......@@ -574,6 +574,7 @@ void ViewerPrivate::showAttachmentPopup(KMime::Content *node, const QString &nam
const bool canChange = mMessageItem.isValid() && mMessageItem.parentCollection().isValid()
&& (mMessageItem.parentCollection().rights() != Akonadi::Collection::ReadOnly) && !isEncapsulatedMessage;
action = menu.addAction(QIcon::fromTheme(QStringLiteral("edit-delete")), i18n("Delete Attachment"));
connect(action, &QAction::triggered, this, [this]() {
......@@ -1709,6 +1710,7 @@ void ViewerPrivate::showContextMenu(KMime::Content *content, const QPoint &pos)
popup.addAction(QIcon::fromTheme(QStringLiteral("edit-copy")), i18n("Copy"), this, &ViewerPrivate::slotAttachmentCopy);
auto deleteAction =
popup.addAction(QIcon::fromTheme(QStringLiteral("edit-delete")), i18n("Delete Attachment"), this, &ViewerPrivate::slotAttachmentDelete);
// body parts can only be deleted one at a time, and extra content cannot be delete
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