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

List:       kde-commits
Subject:    KDE/kdepim/akonadi/resources/imap
From:       Volker Krause <vkrause () kde ! org>
Date:       2009-06-19 12:45:10
Message-ID: 1245415510.794454.31484.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 983909 by vkrause:

There is no need to call exec() when we don't care for the result
anyway. It just prevents the job scheduler from doing some optimizations
and also disturbs change notification compression a bit.


 M  +0 -6      imapresource.cpp  


--- trunk/KDE/kdepim/akonadi/resources/imap/imapresource.cpp #983908:983909
@@ -291,7 +291,6 @@
     }
 
     CollectionModifyJob *modify = new CollectionModifyJob( collection );
-    modify->exec();
   }
 }
 
@@ -737,7 +736,6 @@
   }
 
   CollectionModifyJob *modify = new CollectionModifyJob( collection );
-  modify->exec();
 }
 
 void ImapResource::onRightsReceived( KJob *job )
@@ -777,7 +775,6 @@
     collection.setRights( newRights );
 
     CollectionModifyJob *modify = new CollectionModifyJob( collection );
-    modify->exec();
   }
 }
 
@@ -818,7 +815,6 @@
   }
 
   CollectionModifyJob *modify = new CollectionModifyJob( collection );
-  modify->exec();
 }
 
 void ImapResource::onGetMetaDataDone( KJob *job )
@@ -856,7 +852,6 @@
   }
 
   CollectionModifyJob *modify = new CollectionModifyJob( collection );
-  modify->exec();
 }
 
 void ImapResource::onSelectDone( KJob *job )
@@ -928,7 +923,6 @@
   }
 
   CollectionModifyJob *modify = new CollectionModifyJob( collection );
-  modify->exec();
 
   // First check the uidvalidity, if this has changed, it means the folder
   // has been deleted and recreated. So we wipe out the messages and
[prev in list] [next in list] [prev in thread] [next in thread] 

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