summaryrefslogtreecommitdiffstats
path: root/framework/qml/ConversationView.qml
diff options
context:
space:
mode:
Diffstat (limited to 'framework/qml/ConversationView.qml')
-rw-r--r--framework/qml/ConversationView.qml6
1 files changed, 1 insertions, 5 deletions
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
28FocusScope { 28FocusScope {
29 id: root 29 id: root
30 30
31 property variant mail; 31 property alias model: listView.model
32 property bool hideTrash: true; 32 property bool hideTrash: true;
33 property bool hideNonTrash: false; 33 property bool hideNonTrash: false;
34 property string searchString: "" 34 property string searchString: ""
@@ -83,10 +83,6 @@ FocusScope {
83 //Shrink the listview if the content doesn't fill the full height, so the email appears on top instead of on the bottom. 83 //Shrink the listview if the content doesn't fill the full height, so the email appears on top instead of on the bottom.
84 height: Math.min(contentHeight, parent.height) 84 height: Math.min(contentHeight, parent.height)
85 85
86 model: Kube.MailListModel {
87 mail: root.mail
88 }
89
90 Keys.onPressed: { 86 Keys.onPressed: {
91 //Not implemented as a shortcut because we want it only to apply if we have the focus 87 //Not implemented as a shortcut because we want it only to apply if we have the focus
92 if (event.text == "d") { 88 if (event.text == "d") {