engine/src/FeedEngine.cpp
changeset 53 b778853e60a7
parent 36 e010fc411ddc
child 67 9c24c921ec35
child 96 a8538f50e2ba
equal deleted inserted replaced
52:15f885e4eb92 53:b778853e60a7
   366 	for (int i=0;i<iSortedFeeds.Count();i++) 
   366 	for (int i=0;i<iSortedFeeds.Count();i++) 
   367 		{
   367 		{
   368 		if (iSortedFeeds[i]->Uid() == aUid) 
   368 		if (iSortedFeeds[i]->Uid() == aUid) 
   369 			{
   369 			{
   370 			iPodcastModel.ShowEngine().DeleteAllShowsByFeedL(aUid);
   370 			iPodcastModel.ShowEngine().DeleteAllShowsByFeedL(aUid);
   371 					
   371 
   372 			CFeedInfo* feedToRemove = iSortedFeeds[i];
   372 			CFeedInfo* feedToRemove = iSortedFeeds[i];
   373 			
   373 			
   374 			//delete the image file if it exists
   374 			//delete the image file if it exists
   375 			if ((feedToRemove->ImageFileName().Length() >0)
   375 			if ((feedToRemove->ImageFileName().Length() >0)
   376 					&& BaflUtils::FileExists(iPodcastModel.FsSession(), feedToRemove->ImageFileName()))
   376 					&& BaflUtils::FileExists(iPodcastModel.FsSession(), feedToRemove->ImageFileName()))