Make "Ignoring days" to behave like other filters

This prevents confusing in GUI when it shows matched RSS
articles which be really ignored by the rule.
This commit is contained in:
Vladimir Golovnev (Glassez)
2018-05-18 14:41:52 +03:00
parent 256f6954c5
commit 844f76c2ca
4 changed files with 28 additions and 26 deletions

View File

@@ -71,7 +71,6 @@ namespace RSS
QString episodeFilter() const;
void setEpisodeFilter(const QString &e);
void appendLastComputedEpisode();
QStringList previouslyMatchedEpisodes() const;
void setPreviouslyMatchedEpisodes(const QStringList &previouslyMatchedEpisodes);
@@ -82,7 +81,8 @@ namespace RSS
QString assignedCategory() const;
void setCategory(const QString &category);
bool matches(const QString &articleTitle) const;
bool matches(const QVariantHash &articleData) const;
bool accepts(const QVariantHash &articleData);
AutoDownloadRule &operator=(const AutoDownloadRule &other);
bool operator==(const AutoDownloadRule &other) const;