Further restructuring of the RSS code

This commit is contained in:
Christophe Dumez 2010-10-16 20:09:15 +00:00
parent a27d2dcac2
commit 2c3f99692d
6 changed files with 620 additions and 446 deletions

View file

@ -297,7 +297,7 @@ short RssFeed::readDoc(QIODevice* device) {
else
torrent_url = item->getLink();
// Check if the item should be automatically downloaded
FeedFilter * matching_filter = FeedFilters::getFeedFilters(url).matches(item->getTitle());
RssFilter * matching_filter = RssFilters::getFeedFilters(url).matches(item->getTitle());
if(matching_filter != 0) {
// Download the torrent
BTSession->addConsoleMessage(tr("Automatically downloading %1 torrent from %2 RSS feed...").arg(item->getTitle()).arg(getName()));