author | zautrix <zautrix> | 2005-07-06 21:26:48 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-07-06 21:26:48 (UTC) |
commit | 630904c92dc014538ff0b08731efb10dcc25426f (patch) (unidiff) | |
tree | fe27e7572546f070aa16445aaaa5084d5f84a965 /korganizer | |
parent | e1731d8790403a079613f291b4ac172d8f04c960 (diff) | |
download | kdepimpi-630904c92dc014538ff0b08731efb10dcc25426f.zip kdepimpi-630904c92dc014538ff0b08731efb10dcc25426f.tar.gz kdepimpi-630904c92dc014538ff0b08731efb10dcc25426f.tar.bz2 |
fixx
-rw-r--r-- | korganizer/kotodoview.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/korganizer/kotodoview.cpp b/korganizer/kotodoview.cpp index c23a8ee..06d40b1 100644 --- a/korganizer/kotodoview.cpp +++ b/korganizer/kotodoview.cpp | |||
@@ -1491,18 +1491,20 @@ void KOTodoView::displayAllFlat() | |||
1491 | } | 1491 | } |
1492 | mPopupMenu->setItemChecked( 8,true ); | 1492 | mPopupMenu->setItemChecked( 8,true ); |
1493 | isFlatDisplay = true; | 1493 | isFlatDisplay = true; |
1494 | QPtrList<Todo> todoList = calendar()->todos(); | 1494 | QPtrList<Todo> todoList = calendar()->todos(); |
1495 | mTodoMap.clear(); | 1495 | mTodoMap.clear(); |
1496 | mTodoListView->clear(); | 1496 | mTodoListView->clear(); |
1497 | Todo *todo; | 1497 | Todo *todo; |
1498 | for(todo = todoList.first(); todo; todo = todoList.next()) { | 1498 | for(todo = todoList.first(); todo; todo = todoList.next()) { |
1499 | KOTodoViewItem *todoItem = new KOTodoViewItem(mTodoListView,todo,this); | 1499 | if ( checkTodo( todo ) ) { |
1500 | mTodoMap.insert(todo,todoItem); | 1500 | KOTodoViewItem *todoItem = new KOTodoViewItem(mTodoListView,todo,this); |
1501 | mTodoMap.insert(todo,todoItem); | ||
1502 | } | ||
1501 | } | 1503 | } |
1502 | resetCurrentItem(); | 1504 | resetCurrentItem(); |
1503 | } | 1505 | } |
1504 | 1506 | ||
1505 | void KOTodoView::setAllFlat() | 1507 | void KOTodoView::setAllFlat() |
1506 | { | 1508 | { |
1507 | if ( isFlatDisplay ) { | 1509 | if ( isFlatDisplay ) { |
1508 | isFlatDisplay = false; | 1510 | isFlatDisplay = false; |