mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-30 03:28:41 -07:00
parent
33ada71e4b
commit
70ce12372d
8 changed files with 628 additions and 630 deletions
|
@ -110,7 +110,7 @@ bool DownloadRule::matches(const QString &articleTitle) const
|
|||
pos = reg.indexIn(articleTitle);
|
||||
if (pos != -1) {
|
||||
int epTheirs = reg.cap(1).toInt();
|
||||
if (epOursFirst <= epTheirs && epOursLast >= epTheirs)
|
||||
if ((epOursFirst <= epTheirs) && (epOursLast >= epTheirs))
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
@ -300,7 +300,7 @@ QStringList DownloadRule::findMatchingArticles(const FeedPtr &feed) const
|
|||
|
||||
ArticleHash::ConstIterator artIt = feedArticles.begin();
|
||||
ArticleHash::ConstIterator artItend = feedArticles.end();
|
||||
for ( ; artIt != artItend ; ++artIt) {
|
||||
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