author | zecke <zecke> | 2002-10-07 11:55:17 (UTC) |
---|---|---|
committer | zecke <zecke> | 2002-10-07 11:55:17 (UTC) |
commit | a513a88322196c8caa21b00b83d454feae84200c (patch) (unidiff) | |
tree | edf3ec1ed398f320eb067a69726277f0ea4ee089 /core/pim | |
parent | f11d4bda64b58abfebf77485d5d77143a10dc8c9 (diff) | |
download | opie-a513a88322196c8caa21b00b83d454feae84200c.zip opie-a513a88322196c8caa21b00b83d454feae84200c.tar.gz opie-a513a88322196c8caa21b00b83d454feae84200c.tar.bz2 |
Fix not showing completed tasks
-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 | |||
@@ -151,7 +151,7 @@ void TableView::setTodos( OTodoAccess::List::Iterator it, | |||
151 | viewport()->setUpdatesEnabled( false ); | 151 | viewport()->setUpdatesEnabled( false ); |
152 | clear(); | 152 | clear(); |
153 | QString currentCat = todoWindow()->currentCategory(); | 153 | QString currentCat = todoWindow()->currentCategory(); |
154 | bool showCompleted = todoWindow()->currentCatId(); | 154 | bool showCompleted = todoWindow()->showCompleted(); |
155 | bool showOverDue = todoWindow()->showOverDue(); | 155 | bool showOverDue = todoWindow()->showOverDue(); |
156 | qWarning( "Current Category:" + todoWindow()->currentCategory() ); | 156 | qWarning( "Current Category:" + todoWindow()->currentCategory() ); |
157 | int id = todoWindow()->currentCatId(); | 157 | int id = todoWindow()->currentCatId(); |
@@ -168,6 +168,7 @@ void TableView::setTodos( OTodoAccess::List::Iterator it, | |||
168 | } | 168 | } |
169 | /* the item is completed but we shouldn't show it */ | 169 | /* the item is completed but we shouldn't show it */ |
170 | if ( !showCompleted && todo.isCompleted() ) { | 170 | if ( !showCompleted && todo.isCompleted() ) { |
171 | qWarning("isCompleted "); | ||
171 | continue; | 172 | continue; |
172 | } | 173 | } |
173 | /* the item is not overdue but we should only show overdue */ | 174 | /* the item is not overdue but we should only show overdue */ |