From a513a88322196c8caa21b00b83d454feae84200c Mon Sep 17 00:00:00 2001 From: zecke Date: Mon, 07 Oct 2002 11:55:17 +0000 Subject: Fix not showing completed tasks --- (limited to 'core/pim/todo') 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 @@ -151,7 +151,7 @@ void TableView::setTodos( OTodoAccess::List::Iterator it, viewport()->setUpdatesEnabled( false ); clear(); QString currentCat = todoWindow()->currentCategory(); - bool showCompleted = todoWindow()->currentCatId(); + bool showCompleted = todoWindow()->showCompleted(); bool showOverDue = todoWindow()->showOverDue(); qWarning( "Current Category:" + todoWindow()->currentCategory() ); int id = todoWindow()->currentCatId(); @@ -168,6 +168,7 @@ void TableView::setTodos( OTodoAccess::List::Iterator it, } /* the item is completed but we shouldn't show it */ if ( !showCompleted && todo.isCompleted() ) { + qWarning("isCompleted "); continue; } /* the item is not overdue but we should only show overdue */ -- cgit v0.9.0.2