mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-13 18:17:08 -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;
|
||||
}
|
||||
|
||||
bool RssDownloadRule::operator==(const RssDownloadRule &other) {
|
||||
bool RssDownloadRule::operator==(const RssDownloadRule &other) const {
|
||||
return m_name == other.name();
|
||||
}
|
||||
|
||||
|
|
|
@ -67,7 +67,7 @@ public:
|
|||
inline void setUseRegex(bool enabled) { m_useRegex = enabled; }
|
||||
QStringList findMatchingArticles(const RssFeedPtr& feed) const;
|
||||
// Operators
|
||||
bool operator==(const RssDownloadRule &other);
|
||||
bool operator==(const RssDownloadRule &other) const;
|
||||
|
||||
private:
|
||||
QString m_name;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue