calendarui/globaldata/src/calenglobaldata.cpp
branchRCL_3
changeset 13 1984aceb8774
parent 11 0f07cd1b5772
child 14 21239b3bcd78
--- a/calendarui/globaldata/src/calenglobaldata.cpp	Mon Mar 15 12:40:18 2010 +0200
+++ b/calendarui/globaldata/src/calenglobaldata.cpp	Wed Mar 31 21:29:10 2010 +0300
@@ -1369,8 +1369,17 @@
                 // Mark the CalFile as Hidden
                 caleninfo->SetEnabled( EFalse );
                             
+                
+                TBuf8<KBuffLength> keyBuff;
+                
+                // Set the modification time as home time.
+                keyBuff.Zero();
+                TTime modificationTime;
+                modificationTime.HomeTime();
+                TPckgC<TTime> pkgModificationTime(modificationTime);
+                caleninfo->SetPropertyL(keyBuff, pkgModificationTime);
+                
                 // Set the SyncStatus to False
-                TBuf8<KBuffLength> keyBuff;
                 keyBuff.Zero();
                 keyBuff.AppendNum( ESyncStatus );
                 TBool syncstatus( EFalse );