aboutsummaryrefslogtreecommitdiffstats
path: root/gpgcontext.cpp
diff options
context:
space:
mode:
authornils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2012-01-03 20:41:20 +0000
committernils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2012-01-03 20:41:20 +0000
commit1ea5614e3b20a40b8764a98c10a7a0c7538035d5 (patch)
treeb8553bdaa92a94a068430f4b3173425ca1eb753d /gpgcontext.cpp
parentfix crash on decrypt with no data (diff)
downloadgpg4usb-1ea5614e3b20a40b8764a98c10a7a0c7538035d5.tar.gz
gpg4usb-1ea5614e3b20a40b8764a98c10a7a0c7538035d5.zip
show message in statusbar of mainwindow when key is exported to file in keymanagement
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@722 34ebc366-c3a9-4b3c-9f84-69acf7962910
Diffstat (limited to 'gpgcontext.cpp')
-rw-r--r--gpgcontext.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/gpgcontext.cpp b/gpgcontext.cpp
index cf9cd1e..c06b4b5 100644
--- a/gpgcontext.cpp
+++ b/gpgcontext.cpp
@@ -379,10 +379,7 @@ bool GpgContext::decrypt(const QByteArray &inBuffer, QByteArray *outBuffer)
result = gpgme_op_decrypt_result(mCtx);
checkErr(result->recipients->status);
errorString.append(gpgErrString(result->recipients->status)).append("<br>");
-
- errorString.append(tr("<br>No private key with id "))
- .append(result->recipients->keyid)
- .append(tr(" in keyring."));
+ errorString.append(tr("<br>No private key with id %1 present in keyring").arg(result->recipients->keyid));
} else {
errorString.append(gpgErrString(err)).append("<br>");
}