--- a/engine/src/FeedInfo.cpp Wed Mar 31 08:19:35 2010 +0200
+++ b/engine/src/FeedInfo.cpp Wed Mar 31 08:41:07 2010 +0200
@@ -50,8 +50,8 @@
copy->SetLinkL(Link());
copy->SetBuildDate(BuildDate());
copy->SetLastUpdated(LastUpdated());
+ copy->iFeedIcon->Duplicate(iFeedIcon->Handle());
copy->SetImageFileNameL(ImageFileName());
- copy->iFeedIcon->Duplicate(iFeedIcon->Handle());
if(CustomTitle())
{
copy->SetCustomTitle();
@@ -205,7 +205,7 @@
cacheFileName = parser.DriveAndPath();
cacheFileName.Append(parser.Name());
cacheFileName.Append(KMbmExtension());
- if( BaflUtils::FileExists(CEikonEnv::Static()->FsSession(), cacheFileName) )
+ if( iFeedIcon->SizeInPixels() == TSize(0,0) && BaflUtils::FileExists(CEikonEnv::Static()->FsSession(), cacheFileName) )
{
iFeedIcon = CEikonEnv::Static()->CreateBitmapL(cacheFileName, 0);
}
@@ -251,11 +251,7 @@
TParsePtrC parser(*iImageFileName);
cacheFileName = parser.DriveAndPath();
cacheFileName.Append(parser.Name());
- cacheFileName.Append(KMbmExtension());
- if( !BaflUtils::FileExists(CEikonEnv::Static()->FsSession(), cacheFileName) )
- {
- iFeedIcon->Save(cacheFileName);
- }
-
+ cacheFileName.Append(KMbmExtension());
+ iFeedIcon->Save(cacheFileName);
}
}