1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-11 23:37:59 +00:00

Fix ArticleListWidget adds new articles in wrong order

This commit is contained in:
Vladimir Golovnev (Glassez) 2017-04-25 13:15:11 +03:00
parent 71814885aa
commit 6764de8ef0

View File

@ -77,7 +77,7 @@ void ArticleListWidget::setRSSItem(RSS::Item *rssItem, bool unreadOnly)
void ArticleListWidget::handleArticleAdded(RSS::Article *rssArticle)
{
if (!(m_unreadOnly && rssArticle->isRead()))
addItem(createItem(rssArticle));
insertItem(0, createItem(rssArticle));
}
void ArticleListWidget::handleArticleRead(RSS::Article *rssArticle)