From 8bbf98eb13eeb60e98bc5ff9e116eb35b0e2c081 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Sun, 1 Jul 2018 17:56:32 +0200 Subject: Prepared auto load images --- framework/qml/ConversationView.qml | 2 ++ framework/qml/MailViewer.qml | 1 + 2 files changed, 3 insertions(+) (limited to 'framework') diff --git a/framework/qml/ConversationView.qml b/framework/qml/ConversationView.qml index 4df7dfa0..e1e93b66 100644 --- a/framework/qml/ConversationView.qml +++ b/framework/qml/ConversationView.qml @@ -32,6 +32,7 @@ FocusScope { property bool hideTrash: true; property bool hideNonTrash: false; property string searchString: "" + property bool autoLoadImages: true Kube.Listener { filter: Kube.Messages.searchString @@ -143,6 +144,7 @@ FocusScope { incomplete: model.incomplete current: delegateRoot.isCurrentItem searchString: root.searchString + autoLoadImages: root.autoLoadImages } } diff --git a/framework/qml/MailViewer.qml b/framework/qml/MailViewer.qml index d18ed8e6..a43c99e9 100644 --- a/framework/qml/MailViewer.qml +++ b/framework/qml/MailViewer.qml @@ -43,6 +43,7 @@ Rectangle { property bool current: false; property bool unread; property alias searchString: mailViewer.searchString + property alias autoLoadImages: mailViewer.autoLoadImages implicitHeight: header.height + attachments.height + body.height + incompleteBody.height + footer.height + Kube.Units.largeSpacing -- cgit v1.2.3