From 971699f978b8314edfa489d104080247fac3d0bb Mon Sep 17 00:00:00 2001 From: ubbo Date: Wed, 28 Dec 2011 16:08:06 +0000 Subject: return empty key if nothing found git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@710 34ebc366-c3a9-4b3c-9f84-69acf7962910 --- gpgcontext.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gpgcontext.cpp') diff --git a/gpgcontext.cpp b/gpgcontext.cpp index 76ba5b3..e28ce41 100644 --- a/gpgcontext.cpp +++ b/gpgcontext.cpp @@ -752,6 +752,8 @@ GpgKey GpgContext::getKeyByFpr(QString fpr) { return key; } } + + return GpgKey(); } @@ -766,6 +768,8 @@ GpgKey GpgContext::getKeyById(QString id) { return key; } } + + return GpgKey(); } } -- cgit v1.2.3