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

List:       kde-commits
Subject:    branches/KDE/3.5/kdepim/libkcal (silent)
From:       Reinhold Kainhofer <reinhold () kainhofer ! com>
Date:       2005-08-31 22:04:50
Message-ID: 1125525890.440357.17959.nullmailer () svn ! kde ! org
[Download RAW message or body]

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;
[prev in list] [next in list] [prev in thread] [next in thread] 

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