[kontact] [Bug 401337] Kmail crashes on hitting reply to email

Allen Winter bugzilla_noreply at kde.org
Wed Nov 28 21:45:23 GMT 2018


https://bugs.kde.org/show_bug.cgi?id=401337

--- Comment #3 from Allen Winter <winter at kde.org> ---
Here is my hack to get kmail working again (I doubt this is a kmail bug -- more
likely a QWebEngine bug).  Be warned: you will see memory leaks with this
patch.

iff --git a/templateparser/src/templateparserextracthtmlinfo.cpp
b/templateparser/src/templateparserextracthtmlinfo.cpp
index 72dddbdc..2f7c59e8 100644
--- a/templateparser/src/templateparserextracthtmlinfo.cpp
+++ b/templateparser/src/templateparserextracthtmlinfo.cpp
@@ -31,8 +31,8 @@
TemplateParserExtractHtmlInfo::TemplateParserExtractHtmlInfo(QObject *parent)

 TemplateParserExtractHtmlInfo::~TemplateParserExtractHtmlInfo()
 {
-    delete mTemplateWebEngineView;
-    delete mExtractHtmlElementWebEngineView;
+    //delete mTemplateWebEngineView;
+    //delete mExtractHtmlElementWebEngineView;
 }

 void TemplateParserExtractHtmlInfo::setHtmlForExtractingTextPlain(const
QString &html)

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kdepim-bugs mailing list