summaryrefslogtreecommitdiff
path: root/core/pim/todo/tableview.cpp
Unidiff
Diffstat (limited to 'core/pim/todo/tableview.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/todo/tableview.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/core/pim/todo/tableview.cpp b/core/pim/todo/tableview.cpp
index 097af39..eaaf1bc 100644
--- a/core/pim/todo/tableview.cpp
+++ b/core/pim/todo/tableview.cpp
@@ -142,9 +142,12 @@ void TableView::showOverDue( bool ) {
142} 142}
143 143
144void TableView::updateView( ) { 144void TableView::updateView( ) {
145 setSortOrder( 0 );
146 setAscending( true );
147 sort();
145 OTodoAccess::List::Iterator it, end; 148 OTodoAccess::List::Iterator it, end;
146 it = list().begin(); 149 it = sorted().begin();
147 end = list().end(); 150 end = sorted().end();
148 qWarning("setTodos"); 151 qWarning("setTodos");
149 QTime time; 152 QTime time;
150 time.start(); 153 time.start();