summaryrefslogtreecommitdiffabout
authorzautrix <zautrix>2005-07-06 21:26:48 (UTC)
committer zautrix <zautrix>2005-07-06 21:26:48 (UTC)
commit630904c92dc014538ff0b08731efb10dcc25426f (patch) (unidiff)
treefe27e7572546f070aa16445aaaa5084d5f84a965
parente1731d8790403a079613f291b4ac172d8f04c960 (diff)
downloadkdepimpi-630904c92dc014538ff0b08731efb10dcc25426f.zip
kdepimpi-630904c92dc014538ff0b08731efb10dcc25426f.tar.gz
kdepimpi-630904c92dc014538ff0b08731efb10dcc25426f.tar.bz2
fixx
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--bin/kdepim/WhatsNew.txt6
-rw-r--r--korganizer/kotodoview.cpp2
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,26 +1,32 @@
1Info about the changes in new versions of KDE-Pim/Pi 1Info about the changes in new versions of KDE-Pim/Pi
2 2
3********** VERSION 2.1.14 ************
4
5Added 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.
6Added a button to add a subtodo quickly.
7
8
3********** VERSION 2.1.13 ************ 9********** VERSION 2.1.13 ************
4 10
5Fixed a problem in KA/Pi search. 11Fixed a problem in KA/Pi search.
6Fixed some minor problems in KO/Pi. 12Fixed some minor problems in KO/Pi.
7Added calendar selection possibility to the todo view popup and to the event/todo/journal editor. 13Added calendar selection possibility to the todo view popup and to the event/todo/journal editor.
8 14
9Fixed memory usage problems in KA/Pi: 15Fixed memory usage problems in KA/Pi:
10When loading data KA/Pi did load the file data twice. 16When loading data KA/Pi did load the file data twice.
11Example: 17Example:
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.
14When saving data KA/Pi did consume a lot of memory for the data parsing during the save process. 20When saving data KA/Pi did consume a lot of memory for the data parsing during the save process.
15This is fixed. 21This is fixed.
16Example: 22Example:
17 Before saving a 600k file KA/Pi did consume 21.7 Meg of Ram. 23 Before saving a 600k file KA/Pi did consume 21.7 Meg of Ram.
18 When saving KA/Pi did consume 28.6 Meg of Ram. That causes a crash on the Zaurus because there was no memeory left in the system. 24 When saving KA/Pi did consume 28.6 Meg of Ram. That causes a crash on the Zaurus because there was no memeory left in the system.
19 Now KA/Pi is consuming on saving the same data 22.0 Meg of Ram during the save process. 25 Now KA/Pi is consuming on saving the same data 22.0 Meg of Ram during the save process.
20Note: The memory usage of KA/Pi after the data is loaded/saved has not changed. 26Note: The memory usage of KA/Pi after the data is loaded/saved has not changed.
21The saving of data may be a bit slower now. 27The saving of data may be a bit slower now.
22 28
23Fixed memory usage problems in KO/Pi: 29Fixed memory usage problems in KO/Pi:
24When KO/Pi did save the data to file, it did not release the used buffers after saving. 30When KO/Pi did save the data to file, it did not release the used buffers after saving.
25The used buffer was released after saving the next time, but there was new buffer space allocated again on that save operation. 31The used buffer was released after saving the next time, but there was new buffer space allocated again on that save operation.
26This is fixed. 32This is fixed.
diff --git a/korganizer/kotodoview.cpp b/korganizer/kotodoview.cpp
index c23a8ee..06d40b1 100644
--- a/korganizer/kotodoview.cpp
+++ b/korganizer/kotodoview.cpp
@@ -1475,51 +1475,53 @@ void KOTodoView::setAllClose()
1475void KOTodoView::setOpen( QListViewItem* item, bool setOpenI) 1475void KOTodoView::setOpen( QListViewItem* item, bool setOpenI)
1476{ 1476{
1477 1477
1478 while ( item ) { 1478 while ( item ) {
1479 setOpen( item->firstChild(), setOpenI ); 1479 setOpen( item->firstChild(), setOpenI );
1480 item->setOpen( setOpenI ); 1480 item->setOpen( setOpenI );
1481 item = item->nextSibling(); 1481 item = item->nextSibling();
1482 } 1482 }
1483} 1483}
1484 1484
1485void KOTodoView::displayAllFlat() 1485void KOTodoView::displayAllFlat()
1486{ 1486{
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
1505void KOTodoView::setAllFlat() 1507void 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();
1514} 1516}
1515 1517
1516void KOTodoView::purgeCompleted() 1518void KOTodoView::purgeCompleted()
1517{ 1519{
1518 emit purgeCompletedSignal(); 1520 emit purgeCompletedSignal();
1519 1521
1520} 1522}
1521void KOTodoView::toggleQuickTodo() 1523void KOTodoView::toggleQuickTodo()
1522{ 1524{
1523 if ( mQuickBar->isVisible() ) { 1525 if ( mQuickBar->isVisible() ) {
1524 mQuickBar->hide(); 1526 mQuickBar->hide();
1525 KOPrefs::instance()->mEnableQuickTodo = false; 1527 KOPrefs::instance()->mEnableQuickTodo = false;