summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorFrederik Gladhorn <frederik.gladhorn@digia.com>2014-07-04 19:19:34 +0200
committerFrederik Gladhorn <frederik.gladhorn@digia.com>2014-07-07 10:27:14 +0200
commit803daa981aab1ae6df09aa9e58bf35656e2bf94a (patch)
tree4d586495ddc3e564730fe89def837d199c65a599 /tests
parent6dca9ebc3c89d2d8e1f3be5d3e73a9cafaf1bdb9 (diff)
tst_qwebenginepage: Fix type in javaScriptConsoleMessage signature
Change-Id: Ie4a2a75388f3db3316e3e333e2b8d578ade034ac Reviewed-by: Andras Becsi <andras.becsi@digia.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/widgets/qwebenginepage/tst_qwebenginepage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/widgets/qwebenginepage/tst_qwebenginepage.cpp b/tests/auto/widgets/qwebenginepage/tst_qwebenginepage.cpp
index fe9dabc7..ac71e924 100644
--- a/tests/auto/widgets/qwebenginepage/tst_qwebenginepage.cpp
+++ b/tests/auto/widgets/qwebenginepage/tst_qwebenginepage.cpp
@@ -406,7 +406,7 @@ class ConsolePage : public QWebEnginePage
public:
ConsolePage(QObject* parent = 0) : QWebEnginePage(parent) {}
- virtual void javaScriptConsoleMessage(int level, const QString& message, int lineNumber, const QString& sourceID)
+ virtual void javaScriptConsoleMessage(JavaScriptConsoleMessageLevel level, const QString& message, int lineNumber, const QString& sourceID)
{
levels.append(level);
messages.append(message);