CardDAV cache improvement

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1148528 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru
tpearson 15 years ago
parent b19e36a84a
commit 7cb81641f4

@ -69,9 +69,9 @@ const int ResourceCardDav::DEFAULT_SAVE_INTERVAL = 10;
ResourceCardDav::ResourceCardDav( const KConfig *config ) :
ResourceCached(config)
, mLock(true)
, readLockout(false)
, mAllWritesComplete(false)
, mLock(true)
, mPrefs(NULL)
, mLoader(NULL)
, mWriter(NULL)
@ -146,6 +146,7 @@ bool ResourceCardDav::load() {
log(QString("doLoad(%1)").arg(syncCache));
// FIXME KABC
//clearCache();
log("loading from cache");
@ -493,6 +494,8 @@ bool ResourceCardDav::parseData(const QString& data) {
log("ensuring read only flag honored");
ensureReadOnlyFlagHonored();
}
log("cleaning up cache");
cleanUpCache( addressees );
log("saving to cache");
saveCache();
}

Loading…
Cancel
Save