author | zautrix <zautrix> | 2004-10-16 23:24:31 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-10-16 23:24:31 (UTC) |
commit | 6564856660d583425a5f5d51bf77bc52c01da444 (patch) (unidiff) | |
tree | 223ef7aab1d489113681e3f29d07ca499bb6d1c5 /kde2file | |
parent | 4bab2cac8beb6103b982bd2b42eeb7061a18a0d1 (diff) | |
download | kdepimpi-6564856660d583425a5f5d51bf77bc52c01da444.zip kdepimpi-6564856660d583425a5f5d51bf77bc52c01da444.tar.gz kdepimpi-6564856660d583425a5f5d51bf77bc52c01da444.tar.bz2 |
added KDE sync
-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(); |