author | zautrix <zautrix> | 2005-07-06 21:26:48 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-07-06 21:26:48 (UTC) |
commit | 630904c92dc014538ff0b08731efb10dcc25426f (patch) (side-by-side diff) | |
tree | fe27e7572546f070aa16445aaaa5084d5f84a965 /korganizer/kotodoview.cpp | |
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 @@ -1487,26 +1487,28 @@ void KOTodoView::displayAllFlat() storeCurrentItem(); pendingSubtodo = 0; if ( mBlockUpdate ) { return; } mPopupMenu->setItemChecked( 8,true ); isFlatDisplay = true; QPtrList<Todo> todoList = calendar()->todos(); mTodoMap.clear(); mTodoListView->clear(); Todo *todo; for(todo = todoList.first(); todo; todo = todoList.next()) { - KOTodoViewItem *todoItem = new KOTodoViewItem(mTodoListView,todo,this); - mTodoMap.insert(todo,todoItem); + if ( checkTodo( todo ) ) { + KOTodoViewItem *todoItem = new KOTodoViewItem(mTodoListView,todo,this); + mTodoMap.insert(todo,todoItem); + } } resetCurrentItem(); } void KOTodoView::setAllFlat() { if ( isFlatDisplay ) { isFlatDisplay = false; mPopupMenu->setItemChecked( 8,false ); updateView(); return; } |