Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit d972e52e authored by Laurent Montel's avatar Laurent Montel 😁

Allow to show specific plugin actions

parent a68a9e24
......@@ -66,7 +66,7 @@ find_package(Qt5 ${QT_REQUIRED_VERSION} CONFIG REQUIRED DBus Network Test Widget
set(LIBGRAVATAR_VERSION_LIB "5.10.40")
set(MAILCOMMON_LIB_VERSION_LIB "5.10.42")
set(KDEPIM_APPS_LIB_VERSION_LIB "5.10.40")
set(MESSAGELIB_LIB_VERSION_LIB "5.10.45")
set(MESSAGELIB_LIB_VERSION_LIB "5.10.46")
set(LIBKLEO_LIB_VERSION_LIB "5.10.40")
set(PIMCOMMON_LIB_VERSION_LIB "5.10.41")
set(LIBKDEPIM_LIB_VERSION_LIB "5.10.41")
......
......@@ -3361,7 +3361,7 @@ QList<KToggleAction *> KMComposerWin::customToolsList() const
QList<QAction *> KMComposerWin::pluginToolsActionListForPopupMenu() const
{
return mPluginEditorManagerInterface->actionsType(MessageComposer::PluginActionType::PopupMenu);
return mPluginEditorManagerInterface->actionsType(MessageComposer::PluginActionType::PopupMenu) + mPluginEditorConvertTextManagerInterface->actionsType(MessageComposer::PluginActionType::PopupMenu);
}
void KMComposerWin::slotRecipientEditorLineAdded(KPIM::MultiplyingLine *line_)
......
......@@ -158,7 +158,6 @@ QHash<MessageComposer::PluginActionType::Type, QList<QAction *> > KMailPluginEdi
} else {
mActionHash.insert(type, QList<QAction *>() << actionType.action());
}
/*
if (interface->plugin()->hasPopupMenuSupport()) {
type = MessageComposer::PluginActionType::PopupMenu;
QList<QAction *> lst = mActionHash.value(type);
......@@ -183,7 +182,6 @@ QHash<MessageComposer::PluginActionType::Type, QList<QAction *> > KMailPluginEdi
mActionHash.insert(type, QList<QAction *>() << actionType.action());
}
}
*/
}
}
return mActionHash;
......
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