RSS optimization

This commit is contained in:
Christophe Dumez 2011-01-25 18:46:38 +00:00
parent 86b4db75be
commit 954e010493
11 changed files with 131 additions and 145 deletions

View file

@ -129,9 +129,9 @@ void RssDownloadRule::setSavePath(const QString &save_path)
QStringList RssDownloadRule::findMatchingArticles(const RssFeed *feed) const
{
QStringList ret;
foreach(const RssArticle *art, feed->values()) {
if(matches(art->title()))
ret << art->title();
foreach(const RssArticle &art, feed->values()) {
if(matches(art.title()))
ret << art.title();
}
return ret;
}