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
@@ -2,2 +2,8 @@ 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 ************
diff --git a/korganizer/kotodoview.cpp b/korganizer/kotodoview.cpp
index c23a8ee..06d40b1 100644
--- a/korganizer/kotodoview.cpp
+++ b/korganizer/kotodoview.cpp
@@ -1498,4 +1498,6 @@ void KOTodoView::displayAllFlat()
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);
+ }
}