equal
deleted
inserted
replaced
295 } |
295 } |
296 |
296 |
297 void CPodcastShowsView::FeedDownloadFinishedL(TFeedState /*aState*/, TUint aFeedUid, TInt /*aError*/) |
297 void CPodcastShowsView::FeedDownloadFinishedL(TFeedState /*aState*/, TUint aFeedUid, TInt /*aError*/) |
298 { |
298 { |
299 DP("CPodcastShowsView::FeedDownloadFinishedL BEGIN"); |
299 DP("CPodcastShowsView::FeedDownloadFinishedL BEGIN"); |
300 // TODO make use of the fact that we know that the feed download is |
300 if (iListContainer->IsVisible() && |
301 // finished instead of checking feed engine states in UpdateFeedUpdateStateL. |
301 iPodcastModel.ActiveFeedInfo() != NULL && |
302 if (iPodcastModel.ActiveFeedInfo() != NULL |
302 iPodcastModel.ActiveFeedInfo()->Uid() == aFeedUid) |
303 && iPodcastModel.ActiveFeedInfo()->Uid() == aFeedUid) |
|
304 { |
303 { |
305 UpdateFeedUpdateStateL(); |
304 UpdateFeedUpdateStateL(); |
306 UpdateViewTitleL(); |
305 UpdateViewTitleL(); |
307 } |
306 } |
308 DP("CPodcastShowsView::FeedDownloadFinishedL END"); |
307 DP("CPodcastShowsView::FeedDownloadFinishedL END"); |