engine/src/PodcastModel.cpp
branchRCL_3
changeset 300 5902e8f443e2
parent 282 cf3842290671
child 341 a648d7ca5e27
equal deleted inserted replaced
299:56d23cf60795 300:5902e8f443e2
   328 	
   328 	
   329 	DP1("Copy template DB from: %S", &dbTemplate);
   329 	DP1("Copy template DB from: %S", &dbTemplate);
   330 	DP1("Copy template DB to: %S", &dbFileName);
   330 	DP1("Copy template DB to: %S", &dbFileName);
   331 	
   331 	
   332 	BaflUtils::CopyFile(iFsSession, dbTemplate,dbFileName);
   332 	BaflUtils::CopyFile(iFsSession, dbTemplate,dbFileName);
       
   333 	
       
   334 	// important to set this file to not be read only if copying from Z:
       
   335 	iFsSession.SetAtt(dbFileName, 0, KEntryAttReadOnly); 
       
   336 	
   333 	iIsFirstStartup = ETrue;
   337 	iIsFirstStartup = ETrue;
   334 	DP("CPodcastModel::ResetDB END");
   338 	DP("CPodcastModel::ResetDB END");
   335 	}
   339 	}
   336 
   340 
   337 
   341