summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--libopie/pim/otodo.cpp2
-rw-r--r--libopie2/opiepim/otodo.cpp2
2 files changed, 2 insertions, 2 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
@@ -189,3 +189,3 @@ bool OTodo::isOverdue( )
{
- if( data->hasDate )
+ if( data->hasDate && !data->isCompleted)
return QDate::currentDate() > data->date;
diff --git a/libopie2/opiepim/otodo.cpp b/libopie2/opiepim/otodo.cpp
index 6dd4c0e..765d5a9 100644
--- a/libopie2/opiepim/otodo.cpp
+++ b/libopie2/opiepim/otodo.cpp
@@ -189,3 +189,3 @@ bool OTodo::isOverdue( )
{
- if( data->hasDate )
+ if( data->hasDate && !data->isCompleted)
return QDate::currentDate() > data->date;