summaryrefslogtreecommitdiffstats
path: root/src/webview/qquickwebview.cpp
diff options
context:
space:
mode:
authorLiang Qi <[email protected]>2017-10-30 08:46:35 +0100
committerLiang Qi <[email protected]>2017-10-30 09:51:21 +0100
commitff13c5b8576c3c8b6b376291466daab5e597509a (patch)
treee79cdb55046bf6ca8c77487efdd4ca5b85b187ec /src/webview/qquickwebview.cpp
parent7e71daf48c2ee3c3518cbfe6103d212772ccf414 (diff)
parent71932e381ee12528f6516f61c5467f322d8ee903 (diff)
Merge remote-tracking branch 'origin/5.9' into 5.10v5.10.0-beta4
Conflicts: .qmake.conf Change-Id: I417d10ac2bbd1da3e06946c3781b942548cfafbe
Diffstat (limited to 'src/webview/qquickwebview.cpp')
-rw-r--r--src/webview/qquickwebview.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/webview/qquickwebview.cpp b/src/webview/qquickwebview.cpp
index a486088..eb0727a 100644
--- a/src/webview/qquickwebview.cpp
+++ b/src/webview/qquickwebview.cpp
@@ -1,6 +1,6 @@
/****************************************************************************
**
-** Copyright (C) 2015 The Qt Company Ltd.
+** Copyright (C) 2017 The Qt Company Ltd.
** Contact: http://www.qt.io/licensing/
**
** This file is part of the QtWebView module of the Qt Toolkit.
@@ -39,7 +39,6 @@
#include <QtWebView/private/qwebviewloadrequest_p.h>
#include <QtQml/qqmlengine.h>
#include <QtCore/qmutex.h>
-#include <QtCore/QDebug>
namespace {
@@ -311,7 +310,7 @@ void QQuickWebView::onRunJavaScriptResult(int id, const QVariant &variant)
QQmlEngine *engine = qmlEngine(this);
if (engine == 0) {
- qWarning() << "No JavaScript engine, unable to handle JavaScript callback!";
+ qWarning("No JavaScript engine, unable to handle JavaScript callback!");
return;
}