Browse Source

Fix ArticleListWidget adds new articles in wrong order

adaptive-webui-19844
Vladimir Golovnev (Glassez) 8 years ago
parent
commit
6764de8ef0
  1. 2
      src/gui/rss/articlelistwidget.cpp

2
src/gui/rss/articlelistwidget.cpp

@ -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…
Cancel
Save