author | harlekin <harlekin> | 2002-05-13 21:56:32 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2002-05-13 21:56:32 (UTC) |
commit | 654f18b7201655379a515d12e30e06de4ae2e564 (patch) (unidiff) | |
tree | 7faec6092629ab4a9387c7d9b9633ae6ea6e6115 | |
parent | addcce2881f07c1f04113e4df2ec7e4186d4cee4 (diff) | |
download | opie-654f18b7201655379a515d12e30e06de4ae2e564.zip opie-654f18b7201655379a515d12e30e06de4ae2e564.tar.gz opie-654f18b7201655379a515d12e30e06de4ae2e564.tar.bz2 |
serveral bugfixes regarding todo section
-rw-r--r-- | core/pim/today/changelog | 4 | ||||
-rw-r--r-- | core/pim/today/opie-today.control | 2 | ||||
-rw-r--r-- | core/pim/today/today.cpp | 12 |
3 files changed, 11 insertions, 7 deletions
diff --git a/core/pim/today/changelog b/core/pim/today/changelog index c687cea..93bbcac 100644 --- a/core/pim/today/changelog +++ b/core/pim/today/changelog | |||
@@ -1 +1,5 @@ | |||
1 | 0.3.4 | ||
2 | |||
3 | * Several bugfixes regarding todo section. | ||
4 | |||
1 | 0.3.3 | 5 | 0.3.3 |
diff --git a/core/pim/today/opie-today.control b/core/pim/today/opie-today.control index da9d9fa..46c0d71 100644 --- a/core/pim/today/opie-today.control +++ b/core/pim/today/opie-today.control | |||
@@ -5,3 +5,3 @@ Maintainer: Maximilian Reiß <max.reiss@gmx.de> | |||
5 | Architecture: arm | 5 | Architecture: arm |
6 | Version: 0.3.3-$SUB_VERSION | 6 | Version: 0.3.4-$SUB_VERSION |
7 | Depends: opie-base ($QPE_VERSION), libopie ($QPE_VERSION) | 7 | Depends: opie-base ($QPE_VERSION), libopie ($QPE_VERSION) |
diff --git a/core/pim/today/today.cpp b/core/pim/today/today.cpp index 0f4cbdb..4368201 100644 --- a/core/pim/today/today.cpp +++ b/core/pim/today/today.cpp | |||
@@ -84,4 +84,4 @@ Today::Today( QWidget* parent, const char* name, WFlags fl ) | |||
84 | todo = new ToDoDB; | 84 | todo = new ToDoDB; |
85 | getTodo(); | ||
86 | draw(); | 85 | draw(); |
86 | getTodo(); | ||
87 | autoStart(); | 87 | autoStart(); |
@@ -156,3 +156,3 @@ void Today::draw() { | |||
156 | // if the todolist.xml file was not modified in between, do not parse it. | 156 | // if the todolist.xml file was not modified in between, do not parse it. |
157 | if (checkIfModified()) { | 157 | if (checkIfModified() || NEW_START==1) { |
158 | if (todo) delete todo; | 158 | if (todo) delete todo; |
@@ -391,6 +391,6 @@ void Today::getTodo() { | |||
391 | // get total number of still open todos | 391 | // get total number of still open todos |
392 | QValueList<ToDoEvent> open = todo->rawToDos(); | 392 | QValueList<ToDoEvent> openTodo = todo->rawToDos(); |
393 | qBubbleSort(open); | 393 | qBubbleSort(openTodo); |
394 | for ( QValueList<ToDoEvent>::Iterator it=open.begin(); | 394 | for ( QValueList<ToDoEvent>::Iterator it=openTodo.begin(); |
395 | it!=open.end(); ++it ) { | 395 | it!=openTodo.end(); ++it ) { |
396 | if (!(*it).isCompleted()){ | 396 | if (!(*it).isCompleted()){ |