From kde-commits Sun Sep 24 16:09:16 2006 From: Allen Winter Date: Sun, 24 Sep 2006 16:09:16 +0000 To: kde-commits Subject: KDE/kdepimlibs/kcal Message-Id: <1159114156.101889.10195.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=115911417030964 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() ); }