diff options
author | nils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2010-02-03 15:01:47 +0000 |
---|---|---|
committer | nils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2010-02-03 15:01:47 +0000 |
commit | 369bbbd51e988428d5612fea2489e2415a398952 (patch) | |
tree | bd9fb2dfe3f3371aebc37d9fb508012e519ae44b | |
parent | add ru translation for 0.2.2 from kirill (diff) | |
download | gpg4usb-369bbbd51e988428d5612fea2489e2415a398952.tar.gz gpg4usb-369bbbd51e988428d5612fea2489e2415a398952.zip |
fixed umlauts in pathname problem for windows too
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@266 34ebc366-c3a9-4b3c-9f84-69acf7962910
-rw-r--r-- | context.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/context.cpp b/context.cpp index cf1f64e..c7f6c63 100644 --- a/context.cpp +++ b/context.cpp @@ -65,9 +65,12 @@ Context::Context() QString gpgBin = appPath + "/bin/gpg"; #endif QString gpgKeys = appPath + "/keydb"; - err = gpgme_ctx_set_engine_info(mCtx, GPGME_PROTOCOL_OpenPGP, +/* err = gpgme_ctx_set_engine_info(mCtx, GPGME_PROTOCOL_OpenPGP, gpgBin.toUtf8().constData(), - gpgKeys.toUtf8().constData()); + gpgKeys.toUtf8().constData());*/ + err = gpgme_ctx_set_engine_info(mCtx, GPGME_PROTOCOL_OpenPGP, + gpgBin.toLocal8Bit().constData(), + gpgKeys.toLocal8Bit().constData()); checkErr(err); |