Change override of WebViewClient.onReceivedError


The override using Webview, int, String, String was deprecated in API
level 23. Use the override with WebView, WebResourceRequest,
WebResourceError instead.

Note, that the new override will be called for any resource, not just
for the main page.

Task-number: QTBUG-133929
Pick-to: 6.11
Change-Id: Iafb6930d2b4420da391fef7827de292c2b6bf322
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
commit03ba76055da67a18a629113984ad232d33b10213
parent5c61cab63d4b9db477062c3a52866005cc8d3cee
authorMate Barany <mate.barany@qt.io>
committerMate Barany <mate.barany@qt.io>
commit timeWed, 29 Apr 2026 20:38:34 +0000