summaryrefslogtreecommitdiff
authorharlekin <harlekin>2002-03-22 09:04:05 (UTC)
committer harlekin <harlekin>2002-03-22 09:04:05 (UTC)
commitd710cacb0ee021274ed5507a76a3cc0ca9a65a4e (patch) (side-by-side diff)
tree68ab43f438062e62acf167ebfc086197af656130
parent23663a914f1b831134d907dfa9f367381718bdc7 (diff)
downloadopie-d710cacb0ee021274ed5507a76a3cc0ca9a65a4e.zip
opie-d710cacb0ee021274ed5507a76a3cc0ca9a65a4e.tar.gz
opie-d710cacb0ee021274ed5507a76a3cc0ca9a65a4e.tar.bz2
bugfixes
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--core/pim/today/today.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/pim/today/today.cpp b/core/pim/today/today.cpp
index 58ba4f4..aef0a9b 100644
--- a/core/pim/today/today.cpp
+++ b/core/pim/today/today.cpp
@@ -141,16 +141,17 @@ void Today::autoStart() {
*/
void Today::draw() {
init();
getDates();
getMail();
// if the todolist.xml file was not modified in between, do not parse it.
if (checkIfModified()) {
+ if (todo) delete todo;
todo = new ToDoDB;
getTodo();
}
// how often refresh
QTimer::singleShot( 20*1000, this, SLOT(draw() ) );
}