diff options
author | ubbo <ubbo@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2011-12-28 18:37:58 +0000 |
---|---|---|
committer | ubbo <ubbo@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2011-12-28 18:37:58 +0000 |
commit | 1efa478834fb9329739ce7b26b35eb9962594cb0 (patch) | |
tree | 5ae67eb6d581ec947465054f2619d59ffacea60d /gpgcontext.cpp | |
parent | prepare language listing which works from qt 4.8 onwards (diff) | |
download | gpg4usb-1efa478834fb9329739ce7b26b35eb9962594cb0.tar.gz gpg4usb-1efa478834fb9329739ce7b26b35eb9962594cb0.zip |
add GPG4USB_NON_PORTABLE flag, which could be used to build non portable app using system gpg folders and programm
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@713 34ebc366-c3a9-4b3c-9f84-69acf7962910
Diffstat (limited to 'gpgcontext.cpp')
-rw-r--r-- | gpgcontext.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gpgcontext.cpp b/gpgcontext.cpp index e28ce41..89a6bab 100644 --- a/gpgcontext.cpp +++ b/gpgcontext.cpp @@ -75,11 +75,12 @@ GpgContext::GpgContext() /* err = gpgme_ctx_set_engine_info(mCtx, GPGME_PROTOCOL_OpenPGP, gpgBin.toUtf8().constData(), gpgKeys.toUtf8().constData());*/ +#ifndef GPG4USB_NON_PORTABLE err = gpgme_ctx_set_engine_info(mCtx, GPGME_PROTOCOL_OpenPGP, gpgBin.toLocal8Bit().constData(), gpgKeys.toLocal8Bit().constData()); checkErr(err); - +#endif /** Setting the output type must be done at the beginning */ /** think this means ascii-armor --> ? */ |