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

List:       kde-commits
Subject:    KDE/kdepim/akonadi/resources/kabc
From:       Kevin Krammer <kevin.krammer () gmx ! at>
Date:       2008-09-03 10:01:16
Message-ID: 1220436076.369024.19644.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 856570 by krake:

Need to call synchronize() otherwise retrieveItems() is not called and ItemFetchJobs \
return 0 items. Payloads seem to be fetched at request then, e.g. at an ItemFetchJob \
on the collection with fullPayload true.


 M  +3 -1      kabcresource.cpp  


--- trunk/KDE/kdepim/akonadi/resources/kabc/kabcresource.cpp #856569:856570
@@ -538,7 +538,9 @@
 
   mAddressBook->blockSignals( false );
 
-  synchronizeCollectionTree();
+  // Let Akonadi retrieve all items but only the base information, no payloads yet
+  mFullItemRetrieve = false;
+  synchronize();
 }
 
 void KABCResource::addressBookChanged()


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

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