summaryrefslogtreecommitdiffabout
authorzautrix <zautrix>2005-04-16 10:17:05 (UTC)
committer zautrix <zautrix>2005-04-16 10:17:05 (UTC)
commit6cf5cc7d0b12af6bdc722e469f3f5aa293016c7d (patch) (side-by-side diff)
tree8b421d5850589c64e6642397819bbf788b6ee1b6
parent85bdc33419eef0ffa9f00eb7222944518fe39b6c (diff)
downloadkdepimpi-6cf5cc7d0b12af6bdc722e469f3f5aa293016c7d.zip
kdepimpi-6cf5cc7d0b12af6bdc722e469f3f5aa293016c7d.tar.gz
kdepimpi-6cf5cc7d0b12af6bdc722e469f3f5aa293016c7d.tar.bz2
fix
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--libkcal/todo.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/libkcal/todo.cpp b/libkcal/todo.cpp
index 5e6ac22..6a6c137 100644
--- a/libkcal/todo.cpp
+++ b/libkcal/todo.cpp
@@ -126,24 +126,25 @@ void Todo::saveParents()
saveTodo = true;
} else {
saveTodo = true;
}
if ( saveTodo ) {
CalendarLocal cal;
cal.setTimeZoneId( " 00:00 Europe/London(UTC)" );
Todo * par = (Todo *) to->clone();
cal.addIncidence( par );
ICalFormat format;
format.save( &cal, file );
}
+ to->saveParents();
}
int Todo::runTime()
{
if ( !mRunning )
return 0;
return mRunStart.secsTo( QDateTime::currentDateTime() );
}
bool Todo::hasRunningSub()
{
if ( mRunning )
return true;