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 8eaa4b56 authored by Laurent Montel's avatar Laurent Montel 😁

Fix compile

parent 1647d1f8
......@@ -42,7 +42,7 @@ public:
const MimeTreeParser::Interface::BodyPartFormatter *bodyPartFormatter(int idx) const override
{
if (idx < 2)
if (idx < 2) {
return new SemanticProcessor();
}
return nullptr;
......
......@@ -33,6 +33,7 @@ MimeTreeParser::MessagePart::Ptr SemanticProcessor::process(MimeTreeParser::Inte
auto nodeHelper = part.nodeHelper();
if (!nodeHelper) {
return {};
}
auto memento = dynamic_cast<SemanticMemento*>(nodeHelper->bodyPartMemento(part.topLevelContent(), "org.kde.messageviewer.semanticData"));
if (!memento) {
memento = new SemanticMemento;
......
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