Commit 7092126e authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Add remote-content menu

parent 0b60197a
Pipeline #51933 passed with stage
in 27 minutes and 44 seconds
......@@ -57,6 +57,7 @@
#include <MailCommon/MailUtil>
#include <MessageViewer/DKIMViewerMenu>
#include <MessageViewer/DKIMWidgetInfo>
#include <MessageViewer/RemoteContentMenu>
using namespace MailCommon;
KMReaderMainWin::KMReaderMainWin(MessageViewer::Viewer::DisplayFormatMessage format, bool htmlLoadExtDefault, const QString &name)
......@@ -775,6 +776,10 @@ void KMReaderMainWin::showMessagePopup(const Akonadi::Item &msg,
menu->addMenu(mReaderWin->dkimViewerMenu()->menu());
}
menu->addSeparator();
if (mReaderWin->remoteContentMenu()) {
menu->addMenu(mReaderWin->remoteContentMenu());
menu->addSeparator();
}
menu->addActions(mReaderWin->viewerPluginActionList(MessageViewer::ViewerPluginInterface::NeedMessage));
}
} else {
......
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