summaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qmltests/data/TestWebEngineView.qml
diff options
context:
space:
mode:
authorKirill Burtsev <kirill.burtsev@qt.io>2021-02-24 12:38:24 +0100
committerKirill Burtsev <kirill.burtsev@qt.io>2021-03-03 21:39:12 +0100
commite7c869c225075d898cb5d20b194af4b939d2dbc1 (patch)
tree21cc92c0197c50f41b80c92d7362404ba8be2ed4 /tests/auto/quick/qmltests/data/TestWebEngineView.qml
parenteb92ad14753b91fc63ab17ab79c6637512921423 (diff)
qmltests: don't use implicit 'loadRequest' arg in 'onLoadingChanged'
Prerequisite for WebEngineLoadRequest type rename Change-Id: Ia8f4f15317881ba522c778c443cf17e55f5c9d65 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
Diffstat (limited to 'tests/auto/quick/qmltests/data/TestWebEngineView.qml')
-rw-r--r--tests/auto/quick/qmltests/data/TestWebEngineView.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/quick/qmltests/data/TestWebEngineView.qml b/tests/auto/quick/qmltests/data/TestWebEngineView.qml
index f2bc09e4b..4840f474d 100644
--- a/tests/auto/quick/qmltests/data/TestWebEngineView.qml
+++ b/tests/auto/quick/qmltests/data/TestWebEngineView.qml
@@ -106,8 +106,8 @@ WebEngineView {
TestResult { id: testResult }
TestCase { id: testCase }
- onLoadingChanged: {
- loadStatus = loadRequest.status
+ onLoadingChanged: function(load) {
+ loadStatus = load.status
}
onWindowCloseRequested: {