summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJocelyn Turcotte <jocelyn.turcotte@digia.com>2014-02-12 18:31:06 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-02-13 12:50:47 +0100
commit0bb596fbebd9317ef7acf00860cbcca45193fcee (patch)
tree43e502fe1afee265933338e75602208d622561fe /src
parentb81a337a63710c4f109dc537f7d4b73acc282596 (diff)
Fix a warning in QWebEnginePage::setHtml
Change-Id: I87c18edb89658433d6dc3487ab92d2ff7bd6c986 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src')
-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);
}