-rw-r--r-- | korganizer/kowhatsnextview.cpp | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/korganizer/kowhatsnextview.cpp b/korganizer/kowhatsnextview.cpp index 8371523..3801ed4 100644 --- a/korganizer/kowhatsnextview.cpp +++ b/korganizer/kowhatsnextview.cpp @@ -188,12 +188,13 @@ void KOWhatsNextView::updateView() while(todo) { if ( !todo->isCompleted() &&todo->hasDueDate() && todo->dtDue().date() < mEventDate ) { if ( ! itemAdded ) { appendDay ( iii, mEventDate ); - itemAdded = true; + //itemAdded = true; - } - appendEvent(todo); + } //bool reply=false, bool notRed = true, bool appendTable = false); + appendEvent(todo, false, false, !itemAdded ); + itemAdded = true; } todo = todos.next(); } } @@ -231,11 +232,12 @@ void KOWhatsNextView::updateView() while(todo) { if ( !todo->isCompleted() &&todo->hasDueDate() && todo->dtDue().date() == mEventDate ) { if ( ! itemAdded ) { appendDay ( iii, mEventDate ); - itemAdded = true; + //itemAdded = true; } - appendEvent(todo); + appendEvent(todo, false , iii!= 0,!itemAdded); + itemAdded = true; } todo = todos.next(); } if ( !itemAdded && iii == 0 ) { |