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

--- Comment #3 from Allen Winter <win...@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 watching all bug changes.

Reply via email to