From cffc559b76b048297f51b2aebe497776eafbf2f8 Mon Sep 17 00:00:00 2001 From: ubbo Date: Wed, 28 Dec 2011 15:47:04 +0000 Subject: show useful error message when no matching private key for decryption found git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@709 34ebc366-c3a9-4b3c-9f84-69acf7962910 --- gpgcontext.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gpgcontext.h') diff --git a/gpgcontext.h b/gpgcontext.h index ed605cf..b442142 100644 --- a/gpgcontext.h +++ b/gpgcontext.h @@ -133,6 +133,8 @@ public: GpgKey getKeyByFpr(QString fpr); GpgKey getKeyById(QString id); + static QString gpgErrString(gpgme_error_t err); + /** * @brief * -- cgit v1.2.3