summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <montel@kde.org>2016-11-04 12:32:35 (GMT)
committerMontel Laurent <montel@kde.org>2016-11-04 13:03:36 (GMT)
commit669eb1dbf4fc6e87ee56cf7655c55365822b6c68 (patch)
tree546c4e5341a8615c4cff757168062ffa7937dbfc
parent0d00bc76ab1ec362894d098df75f3bd7af8bda3d (diff)
Add reply to all action
-rw-r--r--messageviewer/src/viewer/viewer_p.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/messageviewer/src/viewer/viewer_p.cpp b/messageviewer/src/viewer/viewer_p.cpp
index f8aee0a..3fb2a0d 100644
--- a/messageviewer/src/viewer/viewer_p.cpp
+++ b/messageviewer/src/viewer/viewer_p.cpp
@@ -642,6 +642,12 @@ void ViewerPrivate::showAttachmentPopup(KMime::Content *node, const QString &nam
action = menu->addAction(QIcon::fromTheme(QStringLiteral("mail-reply-sender")), i18n("Reply To Author"));
connect(action, SIGNAL(triggered()), attachmentMapper, SLOT(map()));
attachmentMapper->setMapping(action, Viewer::ReplyMessageToAuthor);
+
+ menu->addSeparator();
+
+ action = menu->addAction(QIcon::fromTheme(QStringLiteral("mail-reply-all")), i18n("Reply To All"));
+ connect(action, SIGNAL(triggered()), attachmentMapper, SLOT(map()));
+ attachmentMapper->setMapping(action, Viewer::ReplyMessageToAll);
#endif
menu->addSeparator();
action = menu->addAction(i18n("Properties"));