mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-19 04:49:47 -07:00
In rssdownloadrule.{cpp,h} 'RssDownloadRule::operator==' made const.
This commit is contained in:
parent
1c38568f42
commit
1ba13b32a8
2 changed files with 2 additions and 2 deletions
|
@ -106,7 +106,7 @@ QVariantHash RssDownloadRule::toVariantHash() const
|
||||||
return hash;
|
return hash;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool RssDownloadRule::operator==(const RssDownloadRule &other) {
|
bool RssDownloadRule::operator==(const RssDownloadRule &other) const {
|
||||||
return m_name == other.name();
|
return m_name == other.name();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -67,7 +67,7 @@ public:
|
||||||
inline void setUseRegex(bool enabled) { m_useRegex = enabled; }
|
inline void setUseRegex(bool enabled) { m_useRegex = enabled; }
|
||||||
QStringList findMatchingArticles(const RssFeedPtr& feed) const;
|
QStringList findMatchingArticles(const RssFeedPtr& feed) const;
|
||||||
// Operators
|
// Operators
|
||||||
bool operator==(const RssDownloadRule &other);
|
bool operator==(const RssDownloadRule &other) const;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
QString m_name;
|
QString m_name;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue