From 22bdf9861767d2db4630a5b0e59313053c8aee2c Mon Sep 17 00:00:00 2001 From: "Vladimir Golovnev (Glassez)" Date: Wed, 27 Dec 2017 20:01:40 +0300 Subject: [PATCH] Don't process new/updated RSS rules when disabled --- src/base/rss/rss_autodownloader.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/base/rss/rss_autodownloader.cpp b/src/base/rss/rss_autodownloader.cpp index 438509bc8..188658f64 100644 --- a/src/base/rss/rss_autodownloader.cpp +++ b/src/base/rss/rss_autodownloader.cpp @@ -424,6 +424,8 @@ bool AutoDownloader::isProcessingEnabled() const void AutoDownloader::resetProcessingQueue() { m_processingQueue.clear(); + if (!m_processingEnabled) return; + foreach (Article *article, Session::instance()->rootFolder()->articles()) { if (!article->isRead() && !article->torrentUrl().isEmpty()) addJobForArticle(article);