Make sure new RSS download rules apply to existing articles as well, not just new ones

May be related to #116.
This commit is contained in:
Christophe Dumez 2012-09-23 10:25:25 +03:00
parent 7e57a63ec5
commit 819dcacae0
8 changed files with 51 additions and 20 deletions

View file

@ -251,3 +251,12 @@ RssFilePtr RssFolder::takeChild(const QString &childId)
{
return m_children.take(childId);
}
void RssFolder::recheckRssItemsForDownload()
{
RssFileHash::ConstIterator it = m_children.begin();
RssFileHash::ConstIterator itend = m_children.end();
for ( ; it != itend; ++it) {
it.value()->recheckRssItemsForDownload();
}
}