mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
Rss code clean up
This commit is contained in:
parent
74c32a0ecd
commit
7f0c8dde24
5 changed files with 10 additions and 14 deletions
|
@ -90,7 +90,7 @@ void RssFolder::refresh() {
|
|||
}
|
||||
}
|
||||
|
||||
QList<RssArticle> RssFolder::articleList() const {
|
||||
const QList<RssArticle> RssFolder::articleList() const {
|
||||
QList<RssArticle> news;
|
||||
foreach(const IRssFile *child, m_children.values()) {
|
||||
news << child->articleList();
|
||||
|
@ -98,7 +98,7 @@ QList<RssArticle> RssFolder::articleList() const {
|
|||
return news;
|
||||
}
|
||||
|
||||
QList<RssArticle> RssFolder::unreadArticleList() const {
|
||||
const QList<RssArticle> RssFolder::unreadArticleList() const {
|
||||
QList<RssArticle> unread_news;
|
||||
foreach(const IRssFile *child, m_children.values()) {
|
||||
unread_news << child->unreadArticleList();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue