[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdepim/kleopatra/utils
From: Marc Mutz <mutz () kde ! org>
Date: 2008-04-29 8:55:00
Message-ID: 1209459300.793965.886.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 802399 by mutz:
Take GNUPGHOME into account
M +5 -1 gnupg-helper.cpp
--- trunk/KDE/kdepim/kleopatra/utils/gnupg-helper.cpp #802398:802399
@@ -53,7 +53,11 @@
#ifdef Q_OS_WIN
return QFile::decodeName( default_homedir() );
#else
- return QDir::homePath() + "/.gnupg";
+ const QByteArray gnupgHome = qgetenv( "GNUPGHOME" );
+ if ( !gnupgHome.isEmpty() )
+ return QFile::decodeName( gnupgHome );
+ else
+ return QDir::homePath() + "/.gnupg";
#endif
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic