aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorubbo <ubbo@34ebc366-c3a9-4b3c-9f84-69acf7962910>2012-03-31 16:57:04 +0000
committerubbo <ubbo@34ebc366-c3a9-4b3c-9f84-69acf7962910>2012-03-31 16:57:04 +0000
commitb461e668f89ac12737ac65a31f6ac6068a6c7449 (patch)
tree3198b3b3a4114893c3bb8a0cbaa54dfc8caab337
parentfix some issues with utf8 strings in keys (diff)
downloadgpg4usb-b461e668f89ac12737ac65a31f6ac6068a6c7449.tar.gz
gpg4usb-b461e668f89ac12737ac65a31f6ac6068a6c7449.zip
fix some issues with utf8 strings in keys
git-svn-id: http://cpunk.de/svn/src/gpg4usb/branches/0.3.2@872 34ebc366-c3a9-4b3c-9f84-69acf7962910
-rw-r--r--gpgcontext.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gpgcontext.cpp b/gpgcontext.cpp
index 4ee6cdd..bc4e1ef 100644
--- a/gpgcontext.cpp
+++ b/gpgcontext.cpp
@@ -465,7 +465,7 @@ gpgme_error_t GpgContext::passphrase(const char *uid_hint,
{
gpgme_error_t returnValue = GPG_ERR_CANCELED;
QString passwordDialogMessage;
- QString gpgHint = uid_hint;
+ QString gpgHint = QString::fromUtf8(uid_hint);
bool result;
#ifdef _WIN32
DWORD written;