summaryrefslogtreecommitdiffabout
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--bin/kdepim/WhatsNew.txt6
-rw-r--r--korganizer/kotodoview.cpp6
2 files changed, 10 insertions, 2 deletions
diff --git a/bin/kdepim/WhatsNew.txt b/bin/kdepim/WhatsNew.txt
index d6b2dc7..79de197 100644
--- a/bin/kdepim/WhatsNew.txt
+++ b/bin/kdepim/WhatsNew.txt
@@ -1,5 +1,11 @@
Info about the changes in new versions of KDE-Pim/Pi
+********** VERSION 2.1.14 ************
+
+Added some buttons to the KO/Pi Quick-todo line to make it possible to quickly access some todo view layout settings like display all flat/open/close and hide/show running/done.
+Added a button to add a subtodo quickly.
+
+
********** VERSION 2.1.13 ************
Fixed a problem in KA/Pi search.
diff --git a/korganizer/kotodoview.cpp b/korganizer/kotodoview.cpp
index c23a8ee..06d40b1 100644
--- a/korganizer/kotodoview.cpp
+++ b/korganizer/kotodoview.cpp
@@ -1496,8 +1496,10 @@ void KOTodoView::displayAllFlat()
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();
}