summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2017-12-21 08:49:38 +0100
committerMontel Laurent <[email protected]>2017-12-21 08:49:38 +0100
commit03f09c81c65edb07e909bd73f3132af62283a0e9 (patch)
treec653d6012d7e3d5323921335cf2c007e36f6645a
parent41121478276db772ba19122b4053e0740094017c (diff)
Add action in message menu
-rw-r--r--CMakeLists.txt2
-rw-r--r--kmail/plugins/expertplugin/expertplugininterface.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a80e897..159e70d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -76,7 +76,7 @@ find_package(KF5Prison ${KF5_VERSION} CONFIG REQUIRED)
set(MAILCOMMON_LIB_VERSION "5.7.40")
set(GRAVATAR_LIB_VERSION "5.7.40")
-set(PIMCOMMON_LIB_VERSION "5.7.41")
+set(PIMCOMMON_LIB_VERSION "5.7.42")
set(GRANTLEETHEME_LIB_VERSION "5.7.40")
set(CALENDARSUPPORT_LIB_VERSION "5.7.40")
set(EVENTVIEW_LIB_VERSION "5.7.40")
diff --git a/kmail/plugins/expertplugin/expertplugininterface.cpp b/kmail/plugins/expertplugin/expertplugininterface.cpp
index bd7b1f8..5e3ea2d 100644
--- a/kmail/plugins/expertplugin/expertplugininterface.cpp
+++ b/kmail/plugins/expertplugin/expertplugininterface.cpp
@@ -36,7 +36,7 @@ void ExpertPluginInterface::createAction(KActionCollection *ac)
{
QAction *action = ac->action(QStringLiteral("toggle_mimeparttree"));
if (action) {
- PimCommon::ActionType type(action, PimCommon::ActionType::Tools);
+ PimCommon::ActionType type(action, PimCommon::ActionType::Message);
addActionType(type);
} else {
qWarning() << "toggle_mimeparttree is not defined ";