From 7cfdea5dbeda91ed67bfca7b2decff9ef5a66be1 Mon Sep 17 00:00:00 2001 From: zautrix Date: Sun, 31 Oct 2004 17:36:55 +0000 Subject: kopi wn view fix --- (limited to 'korganizer') diff --git a/korganizer/kowhatsnextview.cpp b/korganizer/kowhatsnextview.cpp index 8371523..3801ed4 100644 --- a/korganizer/kowhatsnextview.cpp +++ b/korganizer/kowhatsnextview.cpp @@ -189,10 +189,11 @@ void KOWhatsNextView::updateView() 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(); } @@ -232,9 +233,10 @@ void KOWhatsNextView::updateView() 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(); } -- cgit v0.9.0.2