blob: f80f8201effa37261fa77cbdcd3bf04bf559137a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
From 32bbd45cdbbb8c60105ced80debab1eb6ed40226 Mon Sep 17 00:00:00 2001
From: Allen Winter <winter@kde.org>
Date: Thu, 29 Nov 2018 09:21:24 -0500
Subject: templateparserextracthtmlinfo.cpp - deleteLater in dtor
ack'd by Laurent
BUG: 401337
FIXED-IN: 18.12.0
---
templateparser/src/templateparserextracthtmlinfo.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/templateparser/src/templateparserextracthtmlinfo.cpp b/templateparser/src/templateparserextracthtmlinfo.cpp
index 72dddbd..c99eb0a 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;
+ mTemplateWebEngineView->deleteLater();
+ mExtractHtmlElementWebEngineView->deleteLater();
}
void TemplateParserExtractHtmlInfo::setHtmlForExtractingTextPlain(const QString &html)
--
cgit v0.11.2
|