From kde-commits Wed Aug 31 22:04:50 2005 From: Reinhold Kainhofer Date: Wed, 31 Aug 2005 22:04:50 +0000 To: kde-commits Subject: branches/KDE/3.5/kdepim/libkcal (silent) Message-Id: <1125525890.440357.17959.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=112552590223181 SVN commit 455583 by kainhofe: SVN_SILENT: Add a FIXME for myself to think about whether we need to cal updated here, too. M +6 -3 incidence.cpp --- branches/KDE/3.5/kdepim/libkcal/incidence.cpp #455582:455583 @@ -177,7 +177,7 @@ void Incidence::setFloats(bool f) { if (mReadOnly) return; - if ( recurrence() ) + if ( recurrence() ) recurrence()->setFloats( f ); IncidenceBase::setFloats( f ); } @@ -186,6 +186,9 @@ { if (mReadOnly) return; mCreated = created; + +// FIXME: Shouldn't we call updated for the creation date, too? +// updated(); } QDateTime Incidence::created() const @@ -392,7 +395,7 @@ return result; } - // if the incidence doesn't recur, + // if the incidence doesn't recur, if ( !doesRecur() ) { if ( !(start.date() > date || end.date() < date ) ) { result << start; @@ -439,7 +442,7 @@ return result; } - // if the incidence doesn't recur, + // if the incidence doesn't recur, if ( !doesRecur() ) { if ( !(start > datetime || end < datetime ) ) { result << start;