From 2629a080ee31fbb4ec91b7fd12db2c6f647a3281 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20Knau=C3=9F?= Date: Tue, 22 Nov 2016 15:36:23 +0100 Subject: Use ErrorType and ErrorString from Encryption --- components/mailviewer/qml/EncryptionPart.qml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'components/mailviewer') 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 { visible: encryption.debug text: model.type } + Text { + visible: model.errorType || encryption.debug + text: model.errorType + ": " + model.errorString + } BorderImage { width: parent.width height: childrenRect.height + 40 -- cgit v1.2.3