--- 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");
--- a/engine/src/SettingsEngine.cpp Tue Jul 06 03:44:46 2010 +0530
+++ b/engine/src/SettingsEngine.cpp Wed Jul 07 10:29:00 2010 +0100
@@ -204,8 +204,11 @@
TFileName CSettingsEngine::DefaultFeedsFileName()
{
TFileName defaultFeeds;
- defaultFeeds.Append(PrivatePath());
- defaultFeeds.Append(KDefaultFeedsFile);
+ TFileName temp;
+ defaultFeeds.Copy(_L("z:"));
+ temp.Append(PrivatePath());
+ temp.Append(KDefaultFeedsFile);
+ defaultFeeds.Append(temp);
DP1("Default feeds file: %S", &defaultFeeds);
return defaultFeeds;
}