-rw-r--r-- | core/pim/todo/tableview.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/pim/todo/tableview.cpp b/core/pim/todo/tableview.cpp index 39f0d72..8cd2e7e 100644 --- a/core/pim/todo/tableview.cpp +++ b/core/pim/todo/tableview.cpp @@ -152,5 +152,5 @@ void TableView::setTodos( OTodoAccess::List::Iterator it, clear(); QString currentCat = todoWindow()->currentCategory(); - bool showCompleted = todoWindow()->currentCatId(); + bool showCompleted = todoWindow()->showCompleted(); bool showOverDue = todoWindow()->showOverDue(); qWarning( "Current Category:" + todoWindow()->currentCategory() ); @@ -169,4 +169,5 @@ void TableView::setTodos( OTodoAccess::List::Iterator it, /* the item is completed but we shouldn't show it */ if ( !showCompleted && todo.isCompleted() ) { + qWarning("isCompleted "); continue; } |