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

List:       kde-commits
Subject:    KDE_3_3_BRANCH: kdepim/kmail
From:       Till Adam <adam () kde ! org>
Date:       2005-01-02 19:33:14
Message-ID: 20050102193314.E6A811B555 () office ! kde ! org
[Download RAW message or body]

CVS commit by tilladam: 

Backport of:

CVS commit by gungl: 

 Make sure that the created anti-virus filters are really added. 


  M +2 -2      antispamwizard.cpp   1.36.2.5


--- kdepim/kmail/antispamwizard.cpp  #1.36.2.4:1.36.2.5
@@ -357,11 +357,11 @@ void AntiSpamWizard::accept()
       filterList.append( classHamFilter );
     }
-
+  }
     /* Now that all the filters have been added to the list, tell
      * the filter manager about it. That will emit filterListUpdate
      * which will result in the filter list in kmmainwidget being 
      * initialized. This should happend only once. */
+  if ( !filterList.isEmpty() )
     KMKernel::self()->filterMgr()->appendFilters( filterList );
-  }
 
   QDialog::accept();


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

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