summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/webenginewidgets/api/qwebenginepage.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/webenginewidgets/api/qwebenginepage.cpp b/src/webenginewidgets/api/qwebenginepage.cpp
index 6d20088d..eedf76d1 100644
--- a/src/webenginewidgets/api/qwebenginepage.cpp
+++ b/src/webenginewidgets/api/qwebenginepage.cpp
@@ -524,7 +524,6 @@ void QWebEnginePage::toPlainText(const QWebEngineCallback<const QString &> &resu
void QWebEnginePage::setHtml(const QString &html, const QUrl &baseUrl)
{
- Q_D(QWebEnginePage);
setContent(html.toUtf8(), QStringLiteral("text/html;charset=UTF-8"), baseUrl);
}