From cd087aad3182b7cd34f5a45cee4864cf54a69057 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Mon, 16 Jul 2018 10:51:03 +0200 Subject: Separated colors for encryption and signature. Typically we have a good encryption and potentialyl a problem with the signature. It's weird if there is a problem with the encryption indicated, while there isn't actually one. --- components/mailviewer/qml/MailDataModel.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'components/mailviewer/qml/MailDataModel.qml') diff --git a/components/mailviewer/qml/MailDataModel.qml b/components/mailviewer/qml/MailDataModel.qml index ab63e8f5..279c0e95 100644 --- a/components/mailviewer/qml/MailDataModel.qml +++ b/components/mailviewer/qml/MailDataModel.qml @@ -82,7 +82,7 @@ DelegateModel { width: Kube.Units.gridUnit height: width iconName: Kube.Icons.secure - color: getColor(model.securityLevel) + color: getColor(model.encryptionSecurityLevel) backgroundOpacity: 0.5 visible: model.encrypted tooltip: qsTr("This message is encrypted to the key: %1").arg(model.encryptionDetails.keyId); @@ -98,7 +98,7 @@ DelegateModel { width: Kube.Units.gridUnit height: width iconName: Kube.Icons.signed - color: getColor(model.securityLevel) + color: getColor(model.signatureSecurityLevel) backgroundOpacity: 0.5 visible: model.signed tooltip: getDetails(model.signatureDetails) -- cgit v1.2.3