From kde-commits Mon Feb 20 21:25:55 2012 From: Frank Osterfeld Date: Mon, 20 Feb 2012 21:25:55 +0000 To: kde-commits Subject: [kdepim/akregator_port] krsslocal: do incremental sync, otherwise the newly fetched items replace th Message-Id: <20120220212555.E7087A6105 () git ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=132977354700780 Git commit 8b2e69f13dc071651e8cabf5806159fcd3398c4b by Frank Osterfeld. Committed on 23/09/2011 at 09:06. Pushed by cgiboudeaux into branch 'akregator_port'. do incremental sync, otherwise the newly fetched items replace the items al= ready in the cache instead of being added. M +1 -1 krsslocal/krsslocalresource.cpp http://commits.kde.org/kdepim/8b2e69f13dc071651e8cabf5806159fcd3398c4b diff --git a/krsslocal/krsslocalresource.cpp b/krsslocal/krsslocalresource.= cpp index 52f7919..7e0f523 100644 --- a/krsslocal/krsslocalresource.cpp +++ b/krsslocal/krsslocalresource.cpp @@ -225,7 +225,7 @@ void KRssLocalResource::slotLoadingComplete(Syndication= ::Loader* loader, Syndica m_syncer =3D new RssItemSync( fc ); connect( m_syncer, SIGNAL(result(KJob*)), this, SLOT(slotItemSyncDone(KJo= b*)) ); } - m_syncer->setFullSyncItems( items ); + m_syncer->setIncrementalSyncItems( items, Item::List() ); //------------------------------------------------------------------ = }