mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 06:28:03 -06:00
Fix RSS with normal links do not work (#7016)
Fix regression of RSS code redesign. Closes #7003.
This commit is contained in:
committed by
GitHub
parent
1a506ac582
commit
4d28f8f48d
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user