From e5677f045f4dd57de869798aa6285bcb6736aea1 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Thu, 16 Feb 2017 20:16:21 +0100 Subject: The singlemail view should operate on mails, the rest on threads. --- components/mail/contents/ui/main.qml | 2 +- components/package/contents/ui/SingleMailView.qml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'components') diff --git a/components/mail/contents/ui/main.qml b/components/mail/contents/ui/main.qml index 8ee1c794..eed80f55 100644 --- a/components/mail/contents/ui/main.qml +++ b/components/mail/contents/ui/main.qml @@ -84,7 +84,7 @@ Controls2.ApplicationWindow { //Controller KubeFramework.MailController { id: mailController - mail: mailListView.currentMail + threadLeader: mailListView.currentMail } KubeFramework.FolderController { diff --git a/components/package/contents/ui/SingleMailView.qml b/components/package/contents/ui/SingleMailView.qml index 0ac223b1..8731e270 100644 --- a/components/package/contents/ui/SingleMailView.qml +++ b/components/package/contents/ui/SingleMailView.qml @@ -367,7 +367,7 @@ Rectangle { KubeFramework.MailController { id: mailController - threadLeader: model.mail + mail: model.mail } text: model.trash ? qsTr("Delete Mail") : qsTr("Move to trash") -- cgit v1.2.3