--- a/engine/src/PodcastModel.cpp Thu Mar 11 20:53:00 2010 +0100
+++ b/engine/src/PodcastModel.cpp Wed Mar 31 08:19:35 2010 +0200
@@ -281,13 +281,15 @@
{
if (iDB == NULL) {
TFileName dbFileName;
- iFsSession.PrivatePath(dbFileName);
+ dbFileName.Copy(iSettingsEngine->PrivatePath());
+ //iFsSession.PrivatePath(dbFileName);
dbFileName.Append(KDBFileName);
DP1("DB is at %S", &dbFileName);
if (!BaflUtils::FileExists(iFsSession, dbFileName)) {
TFileName dbTemplate;
- iFsSession.PrivatePath(dbTemplate);
+ dbTemplate.Copy(iSettingsEngine->PrivatePath());
+ //iFsSession.PrivatePath(dbTemplate);
dbTemplate.Append(KDBTemplateFileName);
DP1("No DB found, copying template from %S", &dbTemplate);
BaflUtils::CopyFile(iFsSession, dbTemplate,dbFileName);