-rw-r--r-- | kde2file/caldump/main.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/kde2file/caldump/main.cpp b/kde2file/caldump/main.cpp index 95ae29e..76bfad3 100644 --- a/kde2file/caldump/main.cpp +++ b/kde2file/caldump/main.cpp | |||
@@ -128,4 +128,5 @@ int main( int argc, char *argv[] ) | |||
128 | ++num; | 128 | ++num; |
129 | Incidence* cl = (*it)->clone(); | 129 | Incidence* cl = (*it)->clone(); |
130 | cl->setLastModified( (*it)->lastModified() ); | ||
130 | if ( cl->type() == "Journal" ) | 131 | if ( cl->type() == "Journal" ) |
131 | localCalendar->addJournal( (Journal *) cl ); | 132 | localCalendar->addJournal( (Journal *) cl ); |
@@ -163,5 +164,7 @@ int main( int argc, char *argv[] ) | |||
163 | Incidence* cl = localCalendar->incidence( (*it)->uid() ); | 164 | Incidence* cl = localCalendar->incidence( (*it)->uid() ); |
164 | if ( cl ) { | 165 | if ( cl ) { |
166 | QDateTime lm = cl->lastModified(); | ||
165 | cl->setResources( (*it)->resources() ); | 167 | cl->setResources( (*it)->resources() ); |
168 | cl->setLastModified(lm); | ||
166 | } | 169 | } |
167 | ++del; | 170 | ++del; |
@@ -179,4 +182,5 @@ int main( int argc, char *argv[] ) | |||
179 | ++num; | 182 | ++num; |
180 | calendarResource->addIncidence( cl ); | 183 | calendarResource->addIncidence( cl ); |
184 | //cl->setLastModified( (*it)->lastModified() ); | ||
181 | } | 185 | } |
182 | calendarResource->save(); | 186 | calendarResource->save(); |