aboutsummaryrefslogtreecommitdiffstats
path: root/verifynotification.cpp
diff options
context:
space:
mode:
authorubbo <ubbo@34ebc366-c3a9-4b3c-9f84-69acf7962910>2011-12-28 16:08:11 +0000
committerubbo <ubbo@34ebc366-c3a9-4b3c-9f84-69acf7962910>2011-12-28 16:08:11 +0000
commitd58f33414bf3d66a36313682ee61708bed17d7fc (patch)
tree532306adb5dc658252527712a2a4bf71bc55bc8c /verifynotification.cpp
parentreturn empty key if nothing found (diff)
downloadgpg4usb-d58f33414bf3d66a36313682ee61708bed17d7fc.tar.gz
gpg4usb-d58f33414bf3d66a36313682ee61708bed17d7fc.zip
use getKeyByXXX from gpgcontext now, drop methods from keylist
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@711 34ebc366-c3a9-4b3c-9f84-69acf7962910
Diffstat (limited to 'verifynotification.cpp')
-rw-r--r--verifynotification.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/verifynotification.cpp b/verifynotification.cpp
index 59600a5..0319c31 100644
--- a/verifynotification.cpp
+++ b/verifynotification.cpp
@@ -124,7 +124,7 @@ bool VerifyNotification::refresh()
}
case GPG_ERR_NO_ERROR:
{
- GpgKey key = mKeyList->getKeyByFpr(sign->fpr);
+ GpgKey key = mCtx->getKeyByFpr(sign->fpr);
verifyLabelText.append(key.name);
if (!key.email.isEmpty()) {
verifyLabelText.append("<"+key.email+">");
@@ -135,7 +135,7 @@ bool VerifyNotification::refresh()
{
textIsSigned = 3;
verifyStatus=VERIFY_ERROR_CRITICAL;
- GpgKey key = mKeyList->getKeyById(sign->fpr);
+ GpgKey key = mCtx->getKeyById(sign->fpr);
verifyLabelText.append(key.name);
if (!key.email.isEmpty()) {
verifyLabelText.append("<"+key.email+">");