diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-07-01 17:56:32 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-07-01 17:57:01 +0200 |
commit | 8bbf98eb13eeb60e98bc5ff9e116eb35b0e2c081 (patch) | |
tree | f271678723de99da084df2fe1bd561930bcdcd73 /components/mailviewer/qml/HtmlContent.qml | |
parent | 4beb1480954b3a54bf23683e5a0fd2f08624d019 (diff) | |
download | kube-8bbf98eb13eeb60e98bc5ff9e116eb35b0e2c081.tar.gz kube-8bbf98eb13eeb60e98bc5ff9e116eb35b0e2c081.zip |
Prepared auto load images
Diffstat (limited to 'components/mailviewer/qml/HtmlContent.qml')
-rw-r--r-- | components/mailviewer/qml/HtmlContent.qml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/components/mailviewer/qml/HtmlContent.qml b/components/mailviewer/qml/HtmlContent.qml index 7a904152..aa9c5e9a 100644 --- a/components/mailviewer/qml/HtmlContent.qml +++ b/components/mailviewer/qml/HtmlContent.qml | |||
@@ -27,6 +27,8 @@ Item { | |||
27 | //We have to give it a minimum size so the html content starts to expand | 27 | //We have to give it a minimum size so the html content starts to expand |
28 | property int contentHeight: 10; | 28 | property int contentHeight: 10; |
29 | property string searchString | 29 | property string searchString |
30 | property bool autoLoadImages: false | ||
31 | |||
30 | onSearchStringChanged: { | 32 | onSearchStringChanged: { |
31 | htmlView.findText(searchString) | 33 | htmlView.findText(searchString) |
32 | } | 34 | } |
@@ -75,7 +77,7 @@ Item { | |||
75 | fullScreenSupportEnabled: false | 77 | fullScreenSupportEnabled: false |
76 | errorPageEnabled: false | 78 | errorPageEnabled: false |
77 | //defaultTextEncoding: ??? | 79 | //defaultTextEncoding: ??? |
78 | autoLoadImages: true | 80 | autoLoadImages: root.autoLoadImages |
79 | autoLoadIconsForPage: false | 81 | autoLoadIconsForPage: false |
80 | accelerated2dCanvasEnabled: false | 82 | accelerated2dCanvasEnabled: false |
81 | //The webview should not steal focus | 83 | //The webview should not steal focus |