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 c3dfe7d4 authored by Sandro Knauß's avatar Sandro Knauß

Make kmail build with uptodate messagelib

parent c34b57e7
......@@ -75,7 +75,7 @@ find_package(Qt5 ${QT_REQUIRED_VERSION} CONFIG REQUIRED DBus Network Test Widget
set(LIBGRAVATAR_VERSION_LIB "5.6.90")
set(MAILCOMMON_LIB_VERSION_LIB "5.7.41")
set(KDEPIM_APPS_LIB_VERSION_LIB "5.6.90")
set(MESSAGELIB_LIB_VERSION_LIB "5.6.90")
set(MESSAGELIB_LIB_VERSION_LIB "5.7.42")
set(LIBKLEO_LIB_VERSION_LIB "5.6.90")
set(PIMCOMMON_LIB_VERSION_LIB "5.6.90")
set(LIBKDEPIM_LIB_VERSION_LIB "5.6.90")
......
......@@ -102,6 +102,7 @@
#include <MessageViewer/MessageViewerSettings>
#include <MimeTreeParser/ObjectTreeParser>
#include <MimeTreeParser/SimpleObjectTreeSource>
#include <MimeTreeParser/NodeHelper>
#include <MessageComposer/Composer>
#include <MessageComposer/GlobalPart>
......@@ -1622,9 +1623,9 @@ void KMComposerWin::setMessage(const KMime::Message::Ptr &newMsg, bool lastSignS
KMime::Content *msgContent = new KMime::Content;
msgContent->setContent(mMsg->encodedContent());
msgContent->parse();
MessageViewer::EmptySource emptySource;
MimeTreeParser::SimpleObjectTreeSource emptySource;
MimeTreeParser::ObjectTreeParser otp(&emptySource); //All default are ok
emptySource.setAllowDecryption(allowDecryption);
emptySource.setDecryptMessage(allowDecryption);
otp.parseObjectTree(msgContent);
bool shouldSetCharset = false;
......
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