engine/src/FeedEngine.cpp
changeset 77 403412eb5292
parent 76 223f270fa7ff
child 78 12c59f14a031
equal deleted inserted replaced
76:223f270fa7ff 77:403412eb5292
   621 			iClientState = EIdle;
   621 			iClientState = EIdle;
   622 			if(aError == KErrNone)
   622 			if(aError == KErrNone)
   623 				{
   623 				{
   624 				// now the image has been downloaded, so we set it again in the FeedInfo to start
   624 				// now the image has been downloaded, so we set it again in the FeedInfo to start
   625 				// converting it
   625 				// converting it
   626 				TRAP_IGNORE(iActiveFeed->SetImageFileNameL(iActiveFeed->ImageFileName(), &iPodcastModel));
   626 				HBufC *fileNameCopy = iActiveFeed->ImageFileName().AllocLC();
       
   627 				TRAP_IGNORE(iActiveFeed->SetImageFileNameL(*fileNameCopy, &iPodcastModel));
       
   628 				CleanupStack::PopAndDestroy(fileNameCopy);
   627 				}
   629 				}
   628 			DBUpdateFeedL(*iActiveFeed);
   630 			DBUpdateFeedL(*iActiveFeed);
   629 			NotifyFeedUpdateComplete(iActiveFeed->Uid(), aError);
   631 			NotifyFeedUpdateComplete(iActiveFeed->Uid(), aError);
   630 			UpdateNextFeedL();
   632 			UpdateNextFeedL();
   631 			}break;
   633 			}break;