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

List:       kde-commits
Subject:    branches/kdepim/enterprise/kdepim/certmanager/lib/ui
From:       Marc Mutz <mutz () kde ! org>
Date:       2010-10-07 9:57:49
Message-ID: 20101007095749.108E5AC892 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1183387 by mutz:

Kleo::MessageBox::auditLog(): don't treat success as an error

Fixes kolab/issue4584.

 M  +1 -1      messagebox.cpp  


--- branches/kdepim/enterprise/kdepim/certmanager/lib/ui/messagebox.cpp \
#1183386:1183387 @@ -156,7 +156,7 @@
 
     const GpgME::Error err = job->auditLogError();
 
-    if ( err.code() != GPG_ERR_NO_DATA ) {
+    if ( err && err.code() != GPG_ERR_NO_DATA ) {
         KMessageBox::information( parent, i18n("An error occurred while trying to \
                retrieve the GnuPG Audit Log:\n%1")
                                   .arg( QString::fromLocal8Bit( err.asString() ) ),
                                   i18n("GnuPG Audit Log Error") );


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

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