mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-31 03:50:20 -07:00
RSS optimization
This commit is contained in:
parent
86b4db75be
commit
954e010493
11 changed files with 131 additions and 145 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue