From e0604f713649186507db37be54cc3aaadcd99663 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Mon, 23 Jul 2018 12:16:08 +0200 Subject: Search view updates --- framework/qml/ConversationView.qml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'framework/qml/ConversationView.qml') diff --git a/framework/qml/ConversationView.qml b/framework/qml/ConversationView.qml index e1e93b66..b052caa2 100644 --- a/framework/qml/ConversationView.qml +++ b/framework/qml/ConversationView.qml @@ -28,7 +28,7 @@ import QtQml 2.2 as QtQml FocusScope { id: root - property variant mail; + property alias model: listView.model property bool hideTrash: true; property bool hideNonTrash: false; property string searchString: "" @@ -83,10 +83,6 @@ FocusScope { //Shrink the listview if the content doesn't fill the full height, so the email appears on top instead of on the bottom. height: Math.min(contentHeight, parent.height) - model: Kube.MailListModel { - mail: root.mail - } - Keys.onPressed: { //Not implemented as a shortcut because we want it only to apply if we have the focus if (event.text == "d") { -- cgit v1.2.3