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
74c32a0ecd
commit
7f0c8dde24
5 changed files with 10 additions and 14 deletions
|
@ -183,11 +183,11 @@ uint RssFeed::unreadCount() const{
|
|||
return nbUnread;
|
||||
}
|
||||
|
||||
QList<RssArticle> RssFeed::articleList() const{
|
||||
const QList<RssArticle> RssFeed::articleList() const{
|
||||
return m_articles.values();
|
||||
}
|
||||
|
||||
QList<RssArticle> RssFeed::unreadArticleList() const {
|
||||
const QList<RssArticle> RssFeed::unreadArticleList() const {
|
||||
QList<RssArticle> unread_news;
|
||||
foreach(const RssArticle &item, m_articles.values()) {
|
||||
if(!item.isRead())
|
||||
|
@ -344,7 +344,6 @@ void RssFeed::handleFinishedDownload(const QString& url, const QString &file_pat
|
|||
m_icon = file_path;
|
||||
qDebug() << "icon path:" << m_icon;
|
||||
RssManager::instance()->forwardFeedIconChanged(m_url, m_icon); // XXX: Ugly
|
||||
emit iconUpdated(m_icon);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue