aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--context.cpp7
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);