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

List:       kde-commits
Subject:    [kdepim-runtime/akregator_port] krsslocal: do incremental sync, otherwise the newly fetched items re
From:       Frank Osterfeld <frank.osterfeld () kdab ! com>
Date:       2012-03-31 15:16:46
Message-ID: 20120331151646.D9490A6144 () git ! kde ! org
[Download RAW message or body]

Git commit e1748747671cb0e1b946bf4aa47e527283f7c614 by Frank Osterfeld.
Committed on 23/09/2011 at 09:06.
Pushed by osterfeld into branch 'akregator_port'.

do incremental sync, otherwise the newly fetched items replace the items already in \
the cache instead of being added.

M  +1    -1    krsslocal/krsslocalresource.cpp

http://commits.kde.org/kdepim-runtime/e1748747671cb0e1b946bf4aa47e527283f7c614

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 = new RssItemSync( fc );
 	connect( m_syncer, SIGNAL(result(KJob*)), this, SLOT(slotItemSyncDone(KJob*)) );
     }
-    m_syncer->setFullSyncItems( items );
+    m_syncer->setIncrementalSyncItems( items, Item::List() );
     //------------------------------------------------------------------
  
 }


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

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