diff options
Diffstat (limited to 'components/mailviewer/contents/ui/HtmlContent.qml')
-rw-r--r-- | components/mailviewer/contents/ui/HtmlContent.qml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/components/mailviewer/contents/ui/HtmlContent.qml b/components/mailviewer/contents/ui/HtmlContent.qml index 1946bb2e..f864ad02 100644 --- a/components/mailviewer/contents/ui/HtmlContent.qml +++ b/components/mailviewer/contents/ui/HtmlContent.qml | |||
@@ -38,9 +38,9 @@ Item { | |||
38 | root.contentHeight = contentsSize.height; | 38 | root.contentHeight = contentsSize.height; |
39 | } | 39 | } |
40 | onLoadingChanged: { | 40 | onLoadingChanged: { |
41 | if (loadRequest.status === WebEngineView.LoadFailedStatus) { | 41 | if (loadRequest.status == WebEngineLoadRequest.LoadFailedStatus) { |
42 | console.warn("Failed to load html content."); | 42 | console.warn("Failed to load html content.") |
43 | console.warn("Error is ", loadRequest.errorString); | 43 | console.warn("Error is ", loadRequest.errorString) |
44 | } | 44 | } |
45 | } | 45 | } |
46 | //TODO The webview should not steal focus (depends on webengine 1.4) | 46 | //TODO The webview should not steal focus (depends on webengine 1.4) |