summaryrefslogtreecommitdiffstats
path: root/components/mailviewer
diff options
context:
space:
mode:
authorSandro Knauß <sknauss@kde.org>2016-11-22 15:36:23 +0100
committerSandro Knauß <sknauss@kde.org>2016-11-23 16:38:21 +0100
commit2629a080ee31fbb4ec91b7fd12db2c6f647a3281 (patch)
tree9a43d9463b876fc06888a8d1f968a3405b62c275 /components/mailviewer
parent3b5795ec482299655c497390496b28cebc8bd498 (diff)
downloadkube-2629a080ee31fbb4ec91b7fd12db2c6f647a3281.tar.gz
kube-2629a080ee31fbb4ec91b7fd12db2c6f647a3281.zip
Use ErrorType and ErrorString from Encryption
Diffstat (limited to 'components/mailviewer')
-rw-r--r--components/mailviewer/qml/EncryptionPart.qml4
1 files changed, 4 insertions, 0 deletions
diff --git a/components/mailviewer/qml/EncryptionPart.qml b/components/mailviewer/qml/EncryptionPart.qml
index 84f4f89d..058c9af7 100644
--- a/components/mailviewer/qml/EncryptionPart.qml
+++ b/components/mailviewer/qml/EncryptionPart.qml
@@ -44,6 +44,10 @@ Item {
44 visible: encryption.debug 44 visible: encryption.debug
45 text: model.type 45 text: model.type
46 } 46 }
47 Text {
48 visible: model.errorType || encryption.debug
49 text: model.errorType + ": " + model.errorString
50 }
47 BorderImage { 51 BorderImage {
48 width: parent.width 52 width: parent.width
49 height: childrenRect.height + 40 53 height: childrenRect.height + 40