From 7e3c508b7ee613c534c2bf0cacf38f96efaef613 Mon Sep 17 00:00:00 2001 From: zautrix Date: Thu, 03 Feb 2005 00:58:41 +0000 Subject: todo fix --- (limited to 'korganizer') diff --git a/korganizer/kotodoview.cpp b/korganizer/kotodoview.cpp index c5b9a21..03a8f1c 100644 --- a/korganizer/kotodoview.cpp +++ b/korganizer/kotodoview.cpp @@ -691,6 +691,10 @@ bool KOTodoView::checkTodo( Todo * todo ) if ( !KOPrefs::instance()->mShowCompletedTodo && todo->isCompleted() ) return false; + if ( !todo->isCompleted() ) { + if ( todo->hasDueDate() && todo->dtDue().date() <= QDate::currentDate() ) + return true; + } if ( KOPrefs::instance()->mHideNonStartedTodos && mNavigator ) { if ( todo->hasStartDate() ) if ( mNavigator->selectedDates().last() < todo->dtStart().date() ) -- cgit v0.9.0.2