mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-19 04:49:47 -07:00
- Read RSS items are now remembered correctly on restart for feeds with no torrents attached
This commit is contained in:
parent
67d60766c1
commit
b8a30be7bc
1 changed files with 1 additions and 1 deletions
|
@ -298,7 +298,7 @@ public:
|
||||||
|
|
||||||
RssItem(RssStream* parent, QString _title, QString _torrent_url, QString _news_link, QString _description, QDateTime _date, QString _author, bool _read):
|
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){
|
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;
|
is_valid = true;
|
||||||
} else {
|
} else {
|
||||||
std::cerr << "ERROR: an invalid RSS item was saved" << std::endl;
|
std::cerr << "ERROR: an invalid RSS item was saved" << std::endl;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue