mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-30 11:38:50 -07:00
parent
7d97905716
commit
a2121f2483
8 changed files with 94 additions and 96 deletions
|
@ -491,7 +491,12 @@ void AutoDownloader::resetProcessingQueue()
|
|||
void AutoDownloader::startProcessing()
|
||||
{
|
||||
resetProcessingQueue();
|
||||
connect(Session::instance()->rootFolder(), &Folder::newArticle, this, &AutoDownloader::handleNewArticle);
|
||||
|
||||
const RSS::Folder *rootFolder = Session::instance()->rootFolder();
|
||||
for (const Article *article : asConst(rootFolder->articles()))
|
||||
handleNewArticle(article);
|
||||
|
||||
connect(rootFolder, &Folder::newArticle, this, &AutoDownloader::handleNewArticle);
|
||||
}
|
||||
|
||||
void AutoDownloader::setProcessingEnabled(const bool enabled)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue