mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-14 01:03:08 -07:00
Rss code clean up
This commit is contained in:
parent
87174ef3a4
commit
74c32a0ecd
6 changed files with 18 additions and 14 deletions
|
@ -162,7 +162,7 @@ RssArticle& RssFeed::getItem(const QString &id) {
|
|||
return m_articles[id];
|
||||
}
|
||||
|
||||
unsigned int RssFeed::getNbNews() const{
|
||||
uint RssFeed::count() const{
|
||||
return m_articles.size();
|
||||
}
|
||||
|
||||
|
@ -174,7 +174,7 @@ void RssFeed::markAsRead() {
|
|||
RssManager::instance()->forwardFeedInfosChanged(m_url, displayName(), 0);
|
||||
}
|
||||
|
||||
unsigned int RssFeed::unreadCount() const{
|
||||
uint RssFeed::unreadCount() const{
|
||||
uint nbUnread=0;
|
||||
foreach(const RssArticle &item, m_articles.values()) {
|
||||
if(!item.isRead())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue