engine/src/PodcastModel.cpp
branchGCC_SURGE
changeset 192 b436ab77eac1
parent 162 d15654dbe9b8
child 282 cf3842290671
--- a/engine/src/PodcastModel.cpp	Fri Jun 11 16:24:09 2010 +0100
+++ b/engine/src/PodcastModel.cpp	Thu Jul 22 16:33:34 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");