[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdepimlibs/kcal
From:       Allen Winter <winter () kde ! org>
Date:       2006-09-24 16:09:16
Message-ID: 1159114156.101889.10195.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 587986 by winterz:

forward port SVN commit 587711 by winterz:

Fix the isOverdue() method to better determine overdue to-dos.
The bug was reported a while back on kde-pim mailing list but
I don't see a real BR about it.


 M  +2 -2      todo.cpp  


--- trunk/KDE/kdepimlibs/kcal/todo.cpp #587985:587986
@@ -307,8 +307,8 @@
 
 bool Todo::isOverdue() const
 {
-  bool inPast = doesFloat() ? mDtDue.date() < QDate::currentDate()
-                            : mDtDue < KDateTime::currentUtcDateTime();
+  bool inPast = doesFloat() ? dtDue().date() < QDate::currentDate()
+                            : dtDue() < KDateTime::currentUtcDateTime();
   return ( inPast && !isCompleted() );
 }
 
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic