aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorubbo <ubbo@34ebc366-c3a9-4b3c-9f84-69acf7962910>2012-01-15 00:31:30 +0000
committerubbo <ubbo@34ebc366-c3a9-4b3c-9f84-69acf7962910>2012-01-15 00:31:30 +0000
commitae33a0003b14ebbcf349010b2a48150a2b4dd77c (patch)
treef697882071c90df4705d0b0d16adc1dfe7b4b291
parentfix cancel bug on windows. yay ! :) . thanx to sylphed-sources for the pointe... (diff)
downloadgpg4usb-ae33a0003b14ebbcf349010b2a48150a2b4dd77c.tar.gz
gpg4usb-ae33a0003b14ebbcf349010b2a48150a2b4dd77c.zip
hint to possibly fix newer gpgme for win
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@740 34ebc366-c3a9-4b3c-9f84-69acf7962910
-rw-r--r--main.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/main.cpp b/main.cpp
index cde3577..6321e02 100644
--- a/main.cpp
+++ b/main.cpp
@@ -53,6 +53,9 @@ int main(int argc, char *argv[])
#ifndef GPG4USB_NON_PORTABLE
// take care of gpg not creating directorys on harddisk
putenv(QString("GNUPGHOME=" + appPath + "/keydb").toAscii().data());
+
+ // this may help with newer gpgme versions on windows
+ //putenv(QString("GPGME_GPGPATH=" + appPath.replace("/", "\\") + "\\bin\\gpg.exe").toAscii().data());
// QSettings uses org-name for automatically setting path...
app.setOrganizationName("conf");