mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-19 12:59:56 -07:00
RSS optimizations
This commit is contained in:
parent
f0f7924325
commit
3bc75bb068
7 changed files with 27 additions and 34 deletions
|
|
@ -461,9 +461,11 @@ void RSSImp::refreshArticleList(QTreeWidgetItem* item) {
|
|||
qDebug("Getting the list of news");
|
||||
QList<RssArticle> news;
|
||||
if(rss_item == m_rssManager)
|
||||
news = RssManager::sortNewsList(rss_item->unreadArticleList());
|
||||
news = rss_item->unreadArticleList();
|
||||
else if(rss_item)
|
||||
news = RssManager::sortNewsList(rss_item->articleList());
|
||||
news = rss_item->articleList();
|
||||
// Sort
|
||||
RssManager::sortNewsList(news);
|
||||
// Clear the list first
|
||||
textBrowser->clear();
|
||||
m_currentArticle = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue