summaryrefslogtreecommitdiffabout
path: root/kde2file/caldump/main.cpp
Side-by-side diff
Diffstat (limited to 'kde2file/caldump/main.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--kde2file/caldump/main.cpp4
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
@@ -129,2 +129,3 @@ int main( int argc, char *argv[] )
Incidence* cl = (*it)->clone();
+ cl->setLastModified( (*it)->lastModified() );
if ( cl->type() == "Journal" )
@@ -164,3 +165,5 @@ int main( int argc, char *argv[] )
if ( cl ) {
+ QDateTime lm = cl->lastModified();
cl->setResources( (*it)->resources() );
+ cl->setLastModified(lm);
}
@@ -180,2 +183,3 @@ int main( int argc, char *argv[] )
calendarResource->addIncidence( cl );
+ //cl->setLastModified( (*it)->lastModified() );
}