From d5c174a6f8621c3e9e99248fbde40dadc3fafd34 Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Fri, 18 Dec 2009 14:47:33 +0000 Subject: [PATCH] - BUGFIX: Read RSS articles are remembered on restart for feeds with no torr ents attached --- Changelog | 1 + src/rss.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Changelog b/Changelog index 05268e6ce..03f6f5dc7 100644 --- a/Changelog +++ b/Changelog @@ -2,6 +2,7 @@ - BUGFIX: Fix RSS Feed downloader for some feeds - BUGFIX: Do not use home folder as a fallback when the save path is not accessible - BUGFIX: Fix Mininova, ThePirateBay search engine plugins + - BUGFIX: Read RSS articles are remembered on restart for feeds with no torrents attached * Sun Dec 13 2009 - Christophe Dumez - v2.0.1 - BUGFIX: µTorrent user-agent is now spoofed correctly diff --git a/src/rss.h b/src/rss.h index 9cf1167d5..4770f6049 100644 --- a/src/rss.h +++ b/src/rss.h @@ -298,7 +298,7 @@ public: RssItem(RssStream* parent, QString _title, QString _torrent_url, QString _news_link, QString _description, QDateTime _date, QString _author, bool _read): parent(parent), title(_title), torrent_url(_torrent_url), news_link(_news_link), description(_description), date(_date), author(_author), read(_read){ - if(!title.isEmpty() && !torrent_url.isEmpty()) { + if(!title.isEmpty()) { is_valid = true; } else { std::cerr << "ERROR: an invalid RSS item was saved" << std::endl;