From 120694217c012e3c1c394db0598da41f2705e965 Mon Sep 17 00:00:00 2001 From: alwin Date: Thu, 17 Mar 2005 20:56:54 +0000 Subject: fix error in thinking about date-diffs I made --- (limited to 'core/pim') diff --git a/core/pim/datebook/datebookweeklst.cpp b/core/pim/datebook/datebookweeklst.cpp index 0555bc7..b0e78f1 100644 --- a/core/pim/datebook/datebookweeklst.cpp +++ b/core/pim/datebook/datebookweeklst.cpp @@ -384,13 +384,13 @@ QDate DateBookWeekLst::weekDate() const void DateBookWeekLst::getEvents() { QDate start = weekDate(); //date(); - QDate stop = start.addDays(7); + QDate stop = start.addDays(6); QValueList el = db->getEffectiveEvents(start, stop); if (view) delete view; if (dbl) { - QDate start2=start.addDays(8); - stop=start2.addDays(7); + QDate start2=start.addDays(7); + stop=start2.addDays(6); QValueList el2 = db->getEffectiveEvents(start2, stop); view=new DateBookWeekLstDblView(el,el2,start,bStartOnMonday,scroll); } else { -- cgit v0.9.0.2