diff options
Diffstat (limited to 'applications/kube-mail/package/contents/ui/SingleMailView.qml')
-rw-r--r-- | applications/kube-mail/package/contents/ui/SingleMailView.qml | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/applications/kube-mail/package/contents/ui/SingleMailView.qml b/applications/kube-mail/package/contents/ui/SingleMailView.qml index e307ccfd..caec88dd 100644 --- a/applications/kube-mail/package/contents/ui/SingleMailView.qml +++ b/applications/kube-mail/package/contents/ui/SingleMailView.qml | |||
@@ -19,8 +19,11 @@ import QtQuick 2.4 | |||
19 | import QtQuick.Controls 1.3 | 19 | import QtQuick.Controls 1.3 |
20 | import QtQuick.Layouts 1.1 | 20 | import QtQuick.Layouts 1.1 |
21 | 21 | ||
22 | import org.kde.kube.mail 1.0 as Mail | ||
23 | |||
22 | Item { | 24 | Item { |
23 | id: root | 25 | id: root |
26 | property variant mail; | ||
24 | 27 | ||
25 | Rectangle { | 28 | Rectangle { |
26 | id: background | 29 | id: background |
@@ -33,7 +36,9 @@ Item { | |||
33 | Repeater { | 36 | Repeater { |
34 | anchors.fill: parent | 37 | anchors.fill: parent |
35 | 38 | ||
36 | model: singleMail.model | 39 | model: Mail.MailListModel { |
40 | mail: root.mail | ||
41 | } | ||
37 | 42 | ||
38 | delegate: Item { | 43 | delegate: Item { |
39 | height: root.height | 44 | height: root.height |
@@ -61,4 +66,4 @@ Item { | |||
61 | } | 66 | } |
62 | } | 67 | } |
63 | } | 68 | } |
64 | } \ No newline at end of file | 69 | } |