summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2017-08-19 09:03:12 -0600
committerChristian Mollekopf <chrigi_1@fastmail.fm>2017-08-19 09:03:12 -0600
commit3b9820e721da7236435e84ace231b7c5ef61e35a (patch)
tree3b650d3a92aac82340ff77b643a8d2c0b5290db8
parent998d5857d831a5fa603ce3e8156f4b6065b4d7af (diff)
downloadkube-3b9820e721da7236435e84ace231b7c5ef61e35a.tar.gz
kube-3b9820e721da7236435e84ace231b7c5ef61e35a.zip
Fixed enum
-rw-r--r--components/mailviewer/contents/ui/HtmlContent.qml6
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)