mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-29 19:18:42 -07:00
Iter cache more && prefix it
This commit is contained in:
parent
bb11d11a72
commit
bbd1c9ee42
4 changed files with 59 additions and 16 deletions
|
@ -122,7 +122,10 @@ QStringList RssDownloadRule::findMatchingArticles(const RssFeedPtr& feed) const
|
|||
{
|
||||
QStringList ret;
|
||||
const RssArticleHash& feed_articles = feed->articleHash();
|
||||
for (RssArticleHash::ConstIterator artIt = feed_articles.begin(); artIt != feed_articles.end(); artIt++) {
|
||||
|
||||
RssArticleHash::ConstIterator artIt = feed_articles.begin();
|
||||
RssArticleHash::ConstIterator artItend = feed_articles.end();
|
||||
for ( ; artIt != artItend ; ++artIt) {
|
||||
const QString title = artIt.value()->title();
|
||||
if (matches(title))
|
||||
ret << title;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue