From kde-commits Tue Oct 14 06:31:51 2003 From: Kalle Dalheimer Date: Tue, 14 Oct 2003 06:31:51 +0000 To: kde-commits Subject: kdepim/korganizer X-MARC-Message: https://marc.info/?l=kde-commits&m=106611314903724 CVS commit by kalle: Bugfix: Todos should still show up in the What's Next list even if they were supposed to be completed before today. (Just missing your deadlines doesn't make your tasks go away, unfortunately :-)) Approved by Cornelius Schumacher M +1 -1 kowhatsnextview.cpp 1.43 --- kdepim/korganizer/kowhatsnextview.cpp #1.42:1.43 @@ -152,5 +152,5 @@ void KOWhatsNextView::updateView() for( it = todos.begin(); it != todos.end(); ++it ) { Todo *todo = *it; - if ( !todo->isCompleted() && todo->hasDueDate() && todo->dtDue().date() == QDate::currentDate() ) + if ( !todo->isCompleted() && todo->hasDueDate() && todo->dtDue().date() <= QDate::currentDate() ) appendTodo(todo); }