mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-10-22 10:46:04 +03:00
Fix RSS with normal links do not work (#7016)
Fix regression of RSS code redesign. Closes #7003.
This commit is contained in:
parent
1a506ac582
commit
4d28f8f48d
1 changed files with 5 additions and 0 deletions
|
@ -69,6 +69,11 @@ Article::Article(Feed *feed, const QVariantHash &varHash)
|
|||
throw std::runtime_error("Bad RSS Article data");
|
||||
|
||||
m_data[KeyId] = m_guid;
|
||||
|
||||
if (m_torrentURL.isEmpty()) {
|
||||
m_torrentURL = m_link;
|
||||
m_data[KeyTorrentURL] = m_torrentURL;
|
||||
}
|
||||
}
|
||||
|
||||
Article::Article(Feed *feed, const QJsonObject &jsonObj)
|
||||
|
|
Loading…
Reference in a new issue