mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-09 09:02:31 -06:00
Fix possible rule saving issue
Matching articles are now previewable in the rss downloader dialog Make sure Rss downloading is enabled before checking for matching rules
This commit is contained in:
@@ -34,6 +34,8 @@
|
||||
#include <QStringList>
|
||||
#include <QVariantHash>
|
||||
|
||||
class RssFeed;
|
||||
|
||||
class RssDownloadRule
|
||||
{
|
||||
|
||||
@@ -58,6 +60,7 @@ public:
|
||||
inline bool isValid() const { return !m_name.isEmpty(); }
|
||||
inline QString mustContain() const { return m_mustContain.join(" "); }
|
||||
inline QString mustNotContain() const { return m_mustNotContain.join(" "); }
|
||||
QStringList findMatchingArticles(const RssFeed* feed) const;
|
||||
// Operators
|
||||
bool operator==(const RssDownloadRule &other);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user