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

List:       kde-commits
Subject:    [kdepim/akregator_port] krsslocal: do incremental sync, otherwise the newly fetched items replace th
From:       Frank Osterfeld <frank.osterfeld () kdab ! com>
Date:       2012-02-20 21:25:55
Message-ID: 20120220212555.E7087A6105 () git ! kde ! org
[Download RAW message or body]

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 already 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 = 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