summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Giboudeaux <cgiboudeaux@gmx.com>2011-04-28 09:34:39 (GMT)
committerChristophe Giboudeaux <cgiboudeaux@gmx.com>2011-04-28 09:34:39 (GMT)
commit1380ce172e4f98ab433085721f0e8fddef4ba621 (patch)
tree39a7180d269194aa01e9de18cfc96bda576755d4
parent4587e565a814686ace73dc518e75e27f5c88d987 (diff)
Revert "Maintain sort order when new articles are added"
While fixing the new article sorting issue, this introduced regressions when displaying only unread articles. Alex, please fix and resubmit to kdepim/4.6. BUG: 271794 BUG: 271149 CCBUG: 271640 FIXED-IN: kdepim 4.6 This reverts commit e95e0f8e3687137f02e19d3ecf5ea0a9463f5962.
-rw-r--r--akregator/src/articlelistview.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/akregator/src/articlelistview.cpp b/akregator/src/articlelistview.cpp
index c558390..bf2219d 100644
--- a/akregator/src/articlelistview.cpp
+++ b/akregator/src/articlelistview.cpp
@@ -158,11 +158,9 @@ void ArticleListView::setArticleModel( ArticleModel* model )
m_proxy->setSourceModel( model );
m_proxy->setSortRole( ArticleModel::SortRole );
m_proxy->setFilters( m_matchers );
- m_proxy->setDynamicSortFilter( true );
FilterDeletedProxyModel* const proxy2 = new FilterDeletedProxyModel( model );
proxy2->setSortRole( ArticleModel::SortRole );
proxy2->setSourceModel( m_proxy );
- proxy2->setDynamicSortFilter( true );
FilterColumnsProxyModel* const columnsProxy = new FilterColumnsProxyModel( model );
columnsProxy->setSortRole( ArticleModel::SortRole );
@@ -171,7 +169,6 @@ void ArticleListView::setArticleModel( ArticleModel* model )
columnsProxy->setColumnEnabled( ArticleModel::FeedTitleColumn );
columnsProxy->setColumnEnabled( ArticleModel::DateColumn );
columnsProxy->setColumnEnabled( ArticleModel::AuthorColumn );
- columnsProxy->setDynamicSortFilter( true );
setModel( columnsProxy );
header()->setContextMenuPolicy( Qt::CustomContextMenu );