[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdepim/certmanager/lib/backends/qgpgme
From:       David Faure <faure () kde ! org>
Date:       2005-01-11 23:19:17
Message-ID: 20050111231917.BA6A71CF56 () office ! kde ! org
[Download RAW message or body]

CVS commit by faure: 

forward port: comment fix and better error message


  M +2 -2      qgpgmecryptoconfig.cpp   1.26


--- kdepim/certmanager/lib/backends/qgpgme/qgpgmecryptoconfig.cpp  #1.25:1.26
@@ -184,6 +184,6 @@ void QGpgMECryptoConfigComponent::runGpg
     rc = ( proc.normalExit() ) ? proc.exitStatus() : -1 ;
 
-  if( rc != 0 ) // Can it really be non-0, when gpg-config --list-components worked?
-    kdWarning(5150) << k_funcinfo << ":" << strerror( rc ) << endl;
+  if( rc != 0 ) // can happen when using the wrong version of gpg...
+    kdWarning(5150) << "Running 'gpgconf --list-options " << mName << "' failed. " \
<< strerror( rc ) << ", but try that command to see the real output" << endl;  else {
     if ( mCurrentGroup && !mCurrentGroup->mEntries.isEmpty() ) // only add non-empty \
groups


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic