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

List:       kde-commits
Subject:    branches/kdepim/enterprise4/kdepim/libkleo/ui
From:       Marc Mutz <mutz () kde ! org>
Date:       2010-10-07 10:06:33
Message-ID: 20101007100633.C2119AC892 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1183389 by mutz:

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

Forward-port of e35 commit 1183387.
Fixes kolab/issue4584.

 M  +1 -1      messagebox.cpp  


--- branches/kdepim/enterprise4/kdepim/libkleo/ui/messagebox.cpp #1183388:1183389
@@ -159,7 +159,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",
                                   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