Commit 0bb596fb authored by Jocelyn Turcotte's avatar Jocelyn Turcotte Committed by The Qt Project
Browse files

Fix a warning in QWebEnginePage::setHtml


Change-Id: I87c18edb89658433d6dc3487ab92d2ff7bd6c986
Reviewed-by: default avatarSimon Hausmann <simon.hausmann@digia.com>
Showing with 0 additions and 1 deletion
...@@ -524,7 +524,6 @@ void QWebEnginePage::toPlainText(const QWebEngineCallback<const QString &> &resu ...@@ -524,7 +524,6 @@ void QWebEnginePage::toPlainText(const QWebEngineCallback<const QString &> &resu
void QWebEnginePage::setHtml(const QString &html, const QUrl &baseUrl) void QWebEnginePage::setHtml(const QString &html, const QUrl &baseUrl)
{ {
Q_D(QWebEnginePage);
setContent(html.toUtf8(), QStringLiteral("text/html;charset=UTF-8"), baseUrl); setContent(html.toUtf8(), QStringLiteral("text/html;charset=UTF-8"), baseUrl);
} }
......
Supports Markdown
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