summaryrefslogtreecommitdiffstats
path: root/mandriva/2010.2/kdepim/kdepim-3.4.0-fix-kmail-dimap-speedup.patch
blob: 40055663ffcf88ce0d60f47a14055fe4db9a65e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- kdepim/kmail/kmmsgbase.cpp--	2005-04-15 20:04:03.000000000 +0200
+++ kdepim/kmail/kmmsgbase.cpp	2005-04-15 20:04:25.000000000 +0200
@@ -144,7 +144,7 @@ void KMMsgBase::toggleStatus(const KMMsg
     if (aStatus == KMMsgStatusHam)
       mStatus &= ~KMMsgStatusSpam;
   }
-  if (storage()) {
+  if (oldStatus != mStatus && storage()) {
      if (idx < 0)
        idx = storage()->find( this );
      storage()->msgStatusChanged( oldStatus, status(), idx );