diff options
author | ubbo <ubbo@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2011-12-28 15:47:04 +0000 |
---|---|---|
committer | ubbo <ubbo@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2011-12-28 15:47:04 +0000 |
commit | cffc559b76b048297f51b2aebe497776eafbf2f8 (patch) | |
tree | b8bb6c3f75d8d2e71e8e5fc85b2c3ded1e793817 /gpgcontext.h | |
parent | fix utf8 decoding of gpg-error messages (diff) | |
download | gpg4usb-cffc559b76b048297f51b2aebe497776eafbf2f8.tar.gz gpg4usb-cffc559b76b048297f51b2aebe497776eafbf2f8.zip |
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
Diffstat (limited to 'gpgcontext.h')
-rw-r--r-- | gpgcontext.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 * |