Commit 5d12c49f authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Show action

parent 7aedc83f
......@@ -67,7 +67,7 @@ find_package(Qt5 ${QT_REQUIRED_VERSION} CONFIG REQUIRED DBus Network Test Widget
set(LIBGRAVATAR_VERSION_LIB "5.14.40")
set(MAILCOMMON_LIB_VERSION_LIB "5.14.40")
set(KDEPIM_APPS_LIB_VERSION_LIB "5.14.40")
set(MESSAGELIB_LIB_VERSION_LIB "5.14.41")
set(MESSAGELIB_LIB_VERSION_LIB "5.14.42")
set(LIBKLEO_LIB_VERSION_LIB "5.14.40")
set(PIMCOMMON_LIB_VERSION_LIB "5.14.41")
set(LIBKDEPIM_LIB_VERSION_LIB "5.14.40")
......
......@@ -2822,6 +2822,8 @@ void KMMainWidget::showMessagePopup(const Akonadi::Item &msg, const QUrl &url, c
if (kmkernel->allowToDebug()) {
menu.addSeparator();
menu.addAction(mMsgActions->debugAkonadiSearchAction());
menu.addSeparator();
menu.addAction(mMsgView->developmentToolsAction());
}
}
if (mMsgView) {
......
......@@ -776,6 +776,8 @@ void KMReaderMainWin::showMessagePopup(const Akonadi::Item &msg, const QUrl &url
if (kmkernel->allowToDebug()) {
menu->addSeparator();
menu->addAction(mMsgActions->debugAkonadiSearchAction());
menu->addSeparator();
menu->addAction(mReaderWin->developmentToolsAction());
}
}
const QList<QAction *> interceptorUrlActions = mReaderWin->interceptorUrlActions(result);
......
......@@ -881,6 +881,11 @@ QAction *KMReaderWin::editContactAction() const
return mEditContactAction;
}
QAction *KMReaderWin::developmentToolsAction() const
{
return mViewer->developmentToolsAction();
}
QMenu *KMReaderWin::viewHtmlOption() const
{
return mViewHtmlOptions;
......
......@@ -147,6 +147,7 @@ public:
QAction *saveMessageDisplayFormatAction() const;
QAction *resetMessageDisplayFormatAction() const;
QAction *editContactAction() const;
QAction *developmentToolsAction() const;
QMenu *viewHtmlOption() const;
QAction *shareImage() const;
......
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