summaryrefslogtreecommitdiffabout
path: root/korganizer/kowhatsnextview.cpp
authorzautrix <zautrix>2004-10-31 17:36:55 (UTC)
committer zautrix <zautrix>2004-10-31 17:36:55 (UTC)
commit7cfdea5dbeda91ed67bfca7b2decff9ef5a66be1 (patch) (unidiff)
tree5ad2e6f91cb66a17c3e46049b71dbb8d632be31a /korganizer/kowhatsnextview.cpp
parent3964a158be731f1bb244ca861262df5fa8d04cf3 (diff)
downloadkdepimpi-7cfdea5dbeda91ed67bfca7b2decff9ef5a66be1.zip
kdepimpi-7cfdea5dbeda91ed67bfca7b2decff9ef5a66be1.tar.gz
kdepimpi-7cfdea5dbeda91ed67bfca7b2decff9ef5a66be1.tar.bz2
kopi wn view fix
Diffstat (limited to 'korganizer/kowhatsnextview.cpp') (more/less context) (show whitespace changes)
-rw-r--r--korganizer/kowhatsnextview.cpp12
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
@@ -189,10 +189,11 @@ void KOWhatsNextView::updateView()
189 if ( !todo->isCompleted() &&todo->hasDueDate() && todo->dtDue().date() < mEventDate ) { 189 if ( !todo->isCompleted() &&todo->hasDueDate() && todo->dtDue().date() < mEventDate ) {
190 if ( ! itemAdded ) { 190 if ( ! itemAdded ) {
191 appendDay ( iii, mEventDate ); 191 appendDay ( iii, mEventDate );
192 itemAdded = true; 192 //itemAdded = true;
193 193
194 } 194 } //bool reply=false, bool notRed = true, bool appendTable = false);
195 appendEvent(todo); 195 appendEvent(todo, false, false, !itemAdded );
196 itemAdded = true;
196 } 197 }
197 todo = todos.next(); 198 todo = todos.next();
198 } 199 }
@@ -232,9 +233,10 @@ void KOWhatsNextView::updateView()
232 if ( !todo->isCompleted() &&todo->hasDueDate() && todo->dtDue().date() == mEventDate ) { 233 if ( !todo->isCompleted() &&todo->hasDueDate() && todo->dtDue().date() == mEventDate ) {
233 if ( ! itemAdded ) { 234 if ( ! itemAdded ) {
234 appendDay ( iii, mEventDate ); 235 appendDay ( iii, mEventDate );
235 itemAdded = true; 236 //itemAdded = true;
236 } 237 }
237 appendEvent(todo); 238 appendEvent(todo, false , iii!= 0,!itemAdded);
239 itemAdded = true;
238 } 240 }
239 todo = todos.next(); 241 todo = todos.next();
240 } 242 }