mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-21 16:07:23 -06:00
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:
@@ -40,6 +40,7 @@
|
||||
|
||||
class RssFeed;
|
||||
class RssManager;
|
||||
class RssDownloadRuleList;
|
||||
|
||||
typedef QHash<QString, RssArticlePtr> RssArticleHash;
|
||||
typedef QSharedPointer<RssFeed> RssFeedPtr;
|
||||
@@ -75,6 +76,7 @@ public:
|
||||
const RssArticleHash& articleHash() const { return m_articles; }
|
||||
virtual RssArticleList unreadArticleListByDateDesc() const;
|
||||
void decrementUnreadCount();
|
||||
void recheckRssItemsForDownload();
|
||||
|
||||
private slots:
|
||||
void handleFinishedDownload(const QString& url, const QString &file_path);
|
||||
@@ -87,6 +89,7 @@ private:
|
||||
QString iconUrl() const;
|
||||
void loadItemsFromDisk();
|
||||
void addArticle(const RssArticlePtr& article);
|
||||
void downloadArticleTorrentIfMatching(RssDownloadRuleList* rules, const RssArticlePtr& article);
|
||||
|
||||
private:
|
||||
RssManager* m_manager;
|
||||
|
||||
Reference in New Issue
Block a user