Commit 0b60197a authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Add menu

parent 08754dbe
Pipeline #51912 passed with stage
in 26 minutes and 24 seconds
......@@ -175,6 +175,7 @@
#include <MessageViewer/DKIMViewerMenu>
#include <MessageViewer/DKIMWidgetInfo>
#include <MessageViewer/RemoteContentMenu>
#ifdef WITH_KUSERFEEDBACK
#include <KUserFeedback/NotificationPopup>
#include <KUserFeedback/Provider>
......@@ -2728,6 +2729,11 @@ void KMMainWidget::showMessagePopup(const Akonadi::Item &msg,
menu.addMenu(mMsgView->dkimViewerMenu()->menu());
menu.addSeparator();
}
if (mMsgView->remoteContentMenu()) {
menu.addMenu(mMsgView->remoteContentMenu());
menu.addSeparator();
}
menu.addActions(mMsgView->viewerPluginActionList(MessageViewer::ViewerPluginInterface::NeedMessage));
menu.addSeparator();
}
......
......@@ -583,7 +583,7 @@ DKIMViewerMenu *KMReaderWin::dkimViewerMenu() const
return mViewer->dkimViewerMenu();
}
RemoteContentMenu *KMReaderWin::RemoteContentMenu() const
RemoteContentMenu *KMReaderWin::remoteContentMenu() const
{
return mViewer->remoteContentMenu();
}
......
......@@ -171,7 +171,7 @@ public:
void hasMultiMessages(bool multi);
void updateShowMultiMessagesButton(bool enablePreviousButton, bool enableNextButton);
MessageViewer::RemoteContentMenu *RemoteContentMenu() const;
MessageViewer::RemoteContentMenu *remoteContentMenu() const;
Q_SIGNALS:
void showStatusBarMessage(const QString &message);
void zoomChanged(qreal factor);
......
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