We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7054e3 commit fef43d7Copy full SHA for fef43d7
tests/auto/quick/dialogs/WebView.qml
@@ -56,11 +56,12 @@ Window {
56
WebEngineView {
57
id: view
58
anchors.fill: parent
59
- onLoadingChanged: function(reqeust) {
60
- if (reqeust.status === WebEngineView.LoadSucceededStatus) {
+ onLoadingChanged: function(request) {
+ if (request.status === WebEngineView.LoadSucceededStatus) {
61
handler.ready = true
62
- } else {
63
- console.log("Wooohooo loading page from qrc failed !")
+ } else if (request.status === WebEngineView.LoadFailedStatus) {
+ console.log("Page was not successfully loaded from qrc! Status: " + request.status
64
+ + ", error [code: " + request.errorCode + "]: '" + request.errorString + "'")
65
}
66
67
0 commit comments