engine/src/FeedEngine.cpp
changeset 91 87cb33beeae2
parent 32 26a3f2dfba08
child 93 bbf5c5204844
--- a/engine/src/FeedEngine.cpp	Thu Mar 11 20:53:00 2010 +0100
+++ b/engine/src/FeedEngine.cpp	Wed Mar 31 08:19:35 2010 +0200
@@ -599,7 +599,15 @@
 			{
 			// change client state to not updating
 			iClientState = EIdle;
-	
+			if(aError == KErrNone)
+				{
+				if( BaflUtils::FileExists(CEikonEnv::Static()->FsSession(), iActiveFeed->ImageFileName() ))
+					{
+						// If this fails, no reason to worry
+					TRAP_IGNORE(iPodcastModel.ImageHandler().LoadFileAndScaleL(iActiveFeed->FeedIcon(), iActiveFeed->ImageFileName(), TSize(64,56), *iActiveFeed, iActiveFeed->Uid()));
+					}				
+				}
+			
 			NotifyFeedUpdateComplete(aError);
 			UpdateNextFeedL();
 			}break;