diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-07-16 10:51:03 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-07-16 10:51:03 +0200 |
commit | cd087aad3182b7cd34f5a45cee4864cf54a69057 (patch) | |
tree | dc9cac71c6c62e3ef9af74f0dfa446bf74c356c9 /components | |
parent | 0f5eb0a41164177715667e271b01015d4348ab69 (diff) | |
download | kube-cd087aad3182b7cd34f5a45cee4864cf54a69057.tar.gz kube-cd087aad3182b7cd34f5a45cee4864cf54a69057.zip |
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.
Diffstat (limited to 'components')
-rw-r--r-- | components/mailviewer/qml/MailDataModel.qml | 4 |
1 files changed, 2 insertions, 2 deletions
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 { | |||
82 | width: Kube.Units.gridUnit | 82 | width: Kube.Units.gridUnit |
83 | height: width | 83 | height: width |
84 | iconName: Kube.Icons.secure | 84 | iconName: Kube.Icons.secure |
85 | color: getColor(model.securityLevel) | 85 | color: getColor(model.encryptionSecurityLevel) |
86 | backgroundOpacity: 0.5 | 86 | backgroundOpacity: 0.5 |
87 | visible: model.encrypted | 87 | visible: model.encrypted |
88 | tooltip: qsTr("This message is encrypted to the key: %1").arg(model.encryptionDetails.keyId); | 88 | tooltip: qsTr("This message is encrypted to the key: %1").arg(model.encryptionDetails.keyId); |
@@ -98,7 +98,7 @@ DelegateModel { | |||
98 | width: Kube.Units.gridUnit | 98 | width: Kube.Units.gridUnit |
99 | height: width | 99 | height: width |
100 | iconName: Kube.Icons.signed | 100 | iconName: Kube.Icons.signed |
101 | color: getColor(model.securityLevel) | 101 | color: getColor(model.signatureSecurityLevel) |
102 | backgroundOpacity: 0.5 | 102 | backgroundOpacity: 0.5 |
103 | visible: model.signed | 103 | visible: model.signed |
104 | tooltip: getDetails(model.signatureDetails) | 104 | tooltip: getDetails(model.signatureDetails) |