summaryrefslogtreecommitdiff
path: root/libopie/pim
Side-by-side diff
Diffstat (limited to 'libopie/pim') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie/pim/otodo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libopie/pim/otodo.cpp b/libopie/pim/otodo.cpp
index 6dd4c0e..765d5a9 100644
--- a/libopie/pim/otodo.cpp
+++ b/libopie/pim/otodo.cpp
@@ -188,5 +188,5 @@ void OTodo::setAlarmDateTime( const QDateTime& alarm )
bool OTodo::isOverdue( )
{
- if( data->hasDate )
+ if( data->hasDate && !data->isCompleted)
return QDate::currentDate() > data->date;
return false;