summaryrefslogtreecommitdiff
path: root/core/pim/today
Unidiff
Diffstat (limited to 'core/pim/today') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/today/plugins/todolist/todopluginwidget.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/pim/today/plugins/todolist/todopluginwidget.cpp b/core/pim/today/plugins/todolist/todopluginwidget.cpp
index 7ce703e..5afd0d8 100644
--- a/core/pim/today/plugins/todolist/todopluginwidget.cpp
+++ b/core/pim/today/plugins/todolist/todopluginwidget.cpp
@@ -90,5 +90,5 @@ void TodolistPluginWidget::getTodo() {
90 90
91 // get overdue todos first 91 // get overdue todos first
92 m_list = todo->sorted( true, 3, 2, 1); 92 m_list = todo->sorted( true, OPimTodoAccess::Deadline, OPimTodoAccess::OnlyOverDue, 1);
93 93
94 for ( m_it = m_list.begin(); m_it != m_list.end(); ++m_it ) { 94 for ( m_it = m_list.begin(); m_it != m_list.end(); ++m_it ) {
@@ -104,5 +104,5 @@ void TodolistPluginWidget::getTodo() {
104 104
105 // get total number of still open todos 105 // get total number of still open todos
106 m_list = todo->sorted( true, 1, 4, 1); 106 m_list = todo->sorted( true, 1, OPimTodoAccess::DoNotShowCompleted, 1);
107 107
108 for ( m_it = m_list.begin(); m_it != m_list.end(); ++m_it ) { 108 for ( m_it = m_list.begin(); m_it != m_list.end(); ++m_it ) {