mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-25 22:14:32 +00:00
Fix ArticleListWidget adds new articles in wrong order
This commit is contained in:
parent
71814885aa
commit
6764de8ef0
@ -77,7 +77,7 @@ void ArticleListWidget::setRSSItem(RSS::Item *rssItem, bool unreadOnly)
|
|||||||
void ArticleListWidget::handleArticleAdded(RSS::Article *rssArticle)
|
void ArticleListWidget::handleArticleAdded(RSS::Article *rssArticle)
|
||||||
{
|
{
|
||||||
if (!(m_unreadOnly && rssArticle->isRead()))
|
if (!(m_unreadOnly && rssArticle->isRead()))
|
||||||
addItem(createItem(rssArticle));
|
insertItem(0, createItem(rssArticle));
|
||||||
}
|
}
|
||||||
|
|
||||||
void ArticleListWidget::handleArticleRead(RSS::Article *rssArticle)
|
void ArticleListWidget::handleArticleRead(RSS::Article *rssArticle)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user