mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-06 13:11:25 -07:00
Add const to a few pointer arguments
This commit is contained in:
parent
ce437817de
commit
77aea3c59e
10 changed files with 12 additions and 12 deletions
|
@ -142,7 +142,7 @@ QJsonObject Article::toJsonObject() const
|
|||
return jsonObj;
|
||||
}
|
||||
|
||||
bool Article::articleDateRecentThan(Article *article, const QDateTime &date)
|
||||
bool Article::articleDateRecentThan(const Article *article, const QDateTime &date)
|
||||
{
|
||||
return article->date() > date;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue