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

List:       kde-commits
Subject:    branches/KDE/3.5/kdepim/korganizer
From:       Allen Winter <winter () kde ! org>
Date:       2007-02-12 23:41:32
Message-ID: 1171323692.266131.14714.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 633047 by winterz:

revert.  didn't mean to commit this.


 M  +2 -16     koagendaview.cpp  


--- branches/KDE/3.5/kdepim/korganizer/koagendaview.cpp #633046:633047
@@ -1463,23 +1463,9 @@
       for (numTodo = 0; numTodo < todos.count(); ++numTodo) {
         Todo *todo = *todos.at(numTodo);
 
-        // Do not display the todo if it has no due date
-        if ( ! todo->hasDueDate() ) continue;
+        if ( ! todo->hasDueDate() ) continue;  // todo shall not be displayed if it \
has no date  
-#if 0
-        // Show floating to-dos from start to due date
-        if ( todo->doesFloat() && todo->hasStartDate() ) {
-          if ( ( todo->dtStart().date() <= currentDate ) &&
-               ( todo->dtStart().date() < todo->dtDue().date() ) &&
-               ( todo->dtDue().date() > currentDate ) ) {
-                 mAllDayAgenda->insertAllDayItem( todo, currentDate,
-                                                  curCol, curCol );
-                 continue;
-               }
-        }
-#endif
-        // ToDo items shall be displayed for the day they are due,
-        // but only showed today if they are already overdue.
+        // ToDo items shall be displayed for the day they are due, but only showed \
                today if they are already overdue.
         // Already completed items can be displayed on their original due date
         bool overdue = todo->isOverdue();
 


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

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