mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-03-10 04:11:16 +00:00
In rssdownloadrule.{cpp,h} 'RssDownloadRule::operator==' made const.
This commit is contained in:
parent
a2b3ad7958
commit
edd7f8e5f5
@ -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…
x
Reference in New Issue
Block a user