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

List:       kde-commits
Subject:    kdenetwork/kmail
From:       David Faure <faure () kde ! org>
Date:       2003-01-14 18:23:55
[Download RAW message or body]

CVS commit by faure: 

don't show progress dialog when email checking isn't interactive


  M +2 -2      kmacctcachedimap.cpp   1.7


--- kdenetwork/kmail/kmacctcachedimap.cpp  #1.6:1.7
@@ -263,5 +263,5 @@ void KMAcctCachedImap::slotSimpleResult(
 
 //-----------------------------------------------------------------------------
-void KMAcctCachedImap::processNewMail(bool /*interactive*/)
+void KMAcctCachedImap::processNewMail(bool interactive)
 {
   // This should never be set for a cached IMAP account
@@ -272,5 +272,5 @@ void KMAcctCachedImap::processNewMail(bo
   emit newMailsProcessed(-1);
 
-  if( isProgressDialogEnabled() ) {
+  if( interactive && isProgressDialogEnabled() ) {
     imapProgressDialog()->clear();
     imapProgressDialog()->show();


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

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