engine/src/PodcastModel.cpp
changeset 162 d15654dbe9b8
parent 134 46baf9a7cadd
child 282 cf3842290671
--- a/engine/src/PodcastModel.cpp	Tue Jul 06 03:44:46 2010 +0530
+++ b/engine/src/PodcastModel.cpp	Wed Jul 07 10:29:00 2010 +0100
@@ -312,9 +312,15 @@
 
 	// copy template to new DB
 	TFileName dbTemplate;
-	dbTemplate.Copy(iSettingsEngine->PrivatePath());
+	TFileName temp;
+	dbTemplate.Copy(_L("z:"));
+	temp.Copy(iSettingsEngine->PrivatePath());
+	dbTemplate.Append(temp);
 	dbTemplate.Append(KDBTemplateFileName);
-
+	
+	DP1("Copy template DB from: %S", &dbTemplate);
+	DP1("Copy template DB to: %S", &dbFileName);
+	
 	BaflUtils::CopyFile(iFsSession, dbTemplate,dbFileName);
 	iIsFirstStartup = ETrue;
 	DP("CPodcastModel::ResetDB END");