-rw-r--r-- | bin/kdepim/WhatsNew.txt | 6 | ||||
-rw-r--r-- | korganizer/kotodoview.cpp | 2 |
2 files changed, 8 insertions, 0 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,14 +1,20 @@ | |||
1 | Info about the changes in new versions of KDE-Pim/Pi | 1 | Info about the changes in new versions of KDE-Pim/Pi |
2 | 2 | ||
3 | ********** VERSION 2.1.14 ************ | ||
4 | |||
5 | 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. | ||
6 | Added a button to add a subtodo quickly. | ||
7 | |||
8 | |||
3 | ********** VERSION 2.1.13 ************ | 9 | ********** VERSION 2.1.13 ************ |
4 | 10 | ||
5 | Fixed a problem in KA/Pi search. | 11 | Fixed a problem in KA/Pi search. |
6 | Fixed some minor problems in KO/Pi. | 12 | Fixed some minor problems in KO/Pi. |
7 | Added calendar selection possibility to the todo view popup and to the event/todo/journal editor. | 13 | Added calendar selection possibility to the todo view popup and to the event/todo/journal editor. |
8 | 14 | ||
9 | Fixed memory usage problems in KA/Pi: | 15 | Fixed memory usage problems in KA/Pi: |
10 | When loading data KA/Pi did load the file data twice. | 16 | When loading data KA/Pi did load the file data twice. |
11 | Example: | 17 | Example: |
12 | A 600k file did consume 1200k memory during loading process. | 18 | A 600k file did consume 1200k memory during loading process. |
13 | This is fixed, it does now consume only 600k during loading process. | 19 | This is fixed, it does now consume only 600k during loading process. |
14 | When saving data KA/Pi did consume a lot of memory for the data parsing during the save process. | 20 | When saving data KA/Pi did consume a lot of memory for the data parsing during the save process. |
diff --git a/korganizer/kotodoview.cpp b/korganizer/kotodoview.cpp index c23a8ee..06d40b1 100644 --- a/korganizer/kotodoview.cpp +++ b/korganizer/kotodoview.cpp | |||
@@ -1487,27 +1487,29 @@ void KOTodoView::displayAllFlat() | |||
1487 | storeCurrentItem(); | 1487 | storeCurrentItem(); |
1488 | pendingSubtodo = 0; | 1488 | pendingSubtodo = 0; |
1489 | if ( mBlockUpdate ) { | 1489 | if ( mBlockUpdate ) { |
1490 | return; | 1490 | return; |
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 | if ( checkTodo( todo ) ) { | ||
1499 | KOTodoViewItem *todoItem = new KOTodoViewItem(mTodoListView,todo,this); | 1500 | KOTodoViewItem *todoItem = new KOTodoViewItem(mTodoListView,todo,this); |
1500 | mTodoMap.insert(todo,todoItem); | 1501 | mTodoMap.insert(todo,todoItem); |
1501 | } | 1502 | } |
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; |
1509 | mPopupMenu->setItemChecked( 8,false ); | 1511 | mPopupMenu->setItemChecked( 8,false ); |
1510 | updateView(); | 1512 | updateView(); |
1511 | return; | 1513 | return; |
1512 | } | 1514 | } |
1513 | displayAllFlat(); | 1515 | displayAllFlat(); |