diff options
author | Sandro Knauß <sknauss@kde.org> | 2016-10-11 16:18:50 +0200 |
---|---|---|
committer | Sandro Knauß <sknauss@kde.org> | 2016-10-11 16:18:50 +0200 |
commit | 1974c19eadd497e355ac985a00d0571f3e6c7712 (patch) | |
tree | 051b61cfe222150dc114e5da04fdd072ceffb3b7 /components/mailviewer/qml/TextPart.qml | |
parent | 6b6f20ffbe06402abcc7d4721ad1f647c3fc4c46 (diff) | |
download | kube-1974c19eadd497e355ac985a00d0571f3e6c7712.tar.gz kube-1974c19eadd497e355ac985a00d0571f3e6c7712.zip |
create model for new mailviewer
Diffstat (limited to 'components/mailviewer/qml/TextPart.qml')
-rw-r--r-- | components/mailviewer/qml/TextPart.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/mailviewer/qml/TextPart.qml b/components/mailviewer/qml/TextPart.qml index 5f183852..0267682f 100644 --- a/components/mailviewer/qml/TextPart.qml +++ b/components/mailviewer/qml/TextPart.qml | |||
@@ -21,8 +21,8 @@ import QtQuick 2.4 | |||
21 | Text { | 21 | Text { |
22 | width: delegateRoot.width | 22 | width: delegateRoot.width |
23 | 23 | ||
24 | text: model.textContent | 24 | text: model.content |
25 | wrapMode: Text.WordWrap | 25 | wrapMode: Text.WordWrap |
26 | 26 | ||
27 | color: embeded ? "grey" : "black" | 27 | color: model.securityLevel //embeded ? "grey" : "black" |
28 | } | 28 | } |