summaryrefslogtreecommitdiffabout
authorzautrix <zautrix>2005-04-16 10:17:05 (UTC)
committer zautrix <zautrix>2005-04-16 10:17:05 (UTC)
commit6cf5cc7d0b12af6bdc722e469f3f5aa293016c7d (patch) (unidiff)
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()
126 saveTodo = true; 126 saveTodo = true;
127 } else { 127 } else {
128 saveTodo = true; 128 saveTodo = true;
129 } 129 }
130 if ( saveTodo ) { 130 if ( saveTodo ) {
131 CalendarLocal cal; 131 CalendarLocal cal;
132 cal.setTimeZoneId( " 00:00 Europe/London(UTC)" ); 132 cal.setTimeZoneId( " 00:00 Europe/London(UTC)" );
133 Todo * par = (Todo *) to->clone(); 133 Todo * par = (Todo *) to->clone();
134 cal.addIncidence( par ); 134 cal.addIncidence( par );
135 ICalFormat format; 135 ICalFormat format;
136 format.save( &cal, file ); 136 format.save( &cal, file );
137 } 137 }
138 to->saveParents();
138} 139}
139 140
140int Todo::runTime() 141int Todo::runTime()
141{ 142{
142 if ( !mRunning ) 143 if ( !mRunning )
143 return 0; 144 return 0;
144 return mRunStart.secsTo( QDateTime::currentDateTime() ); 145 return mRunStart.secsTo( QDateTime::currentDateTime() );
145} 146}
146bool Todo::hasRunningSub() 147bool Todo::hasRunningSub()
147{ 148{
148 if ( mRunning ) 149 if ( mRunning )
149 return true; 150 return true;