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

List:       kde-commits
Subject:    KDE/kdepim/kleopatra/crypto
From:       Frank Osterfeld <frank.osterfeld () kdemail ! net>
Date:       2008-05-08 16:39:51
Message-ID: 1210264791.145783.7842.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 805457 by osterfeld:

handle the --silent case correctly

 M  +4 -0      decryptverifyemailcontroller.cpp  


--- trunk/KDE/kdepim/kleopatra/crypto/decryptverifyemailcontroller.cpp #805456:805457
@@ -151,7 +151,11 @@
         kleo_assert( m_runnableTasks.empty() );
         Q_FOREACH ( const shared_ptr<const DecryptVerifyResult> & i, m_results )
             emit q->verificationResult( i->verificationResult() );
+        // if there is a popup, wait for either the client cancel or the user closing the popup. 
+        // Otherwise (silent case), finish immediately
         m_operationCompleted = true;
+        if ( m_silent ) 
+            q->done();
     }
 }
 
[prev in list] [next in list] [prev in thread] [next in thread] 

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