equal
deleted
inserted
replaced
374 TRAP_IGNORE(iPodcastModel.ImageHandler().LoadFileAndScaleL(aFeedInfo.FeedIcon(), aFeedInfo.ImageFileName(), TSize(64,56), *this)); |
374 TRAP_IGNORE(iPodcastModel.ImageHandler().LoadFileAndScaleL(aFeedInfo.FeedIcon(), aFeedInfo.ImageFileName(), TSize(64,56), *this)); |
375 } |
375 } |
376 } |
376 } |
377 } |
377 } |
378 |
378 |
|
379 if(aFeedInfo.LastError() != KErrNone) |
|
380 { |
|
381 GetFeedErrorText(unplayedShows, aFeedInfo.LastError()); |
|
382 } |
|
383 |
379 if (unplayedShows.Length() > 0) { |
384 if (unplayedShows.Length() > 0) { |
380 unplayedShows.Insert(0,_L(", ")); |
385 unplayedShows.Insert(0,_L(", ")); |
381 } |
386 } |
382 |
387 |
383 iListboxFormatbuffer.Format(KFeedFormat(), iconIndex, &(aFeedInfo.Title()), &updatedDate, &unplayedShows); |
388 iListboxFormatbuffer.Format(KFeedFormat(), iconIndex, &(aFeedInfo.Title()), &updatedDate, &unplayedShows); |
914 |
919 |
915 void CPodcastFeedView::DialogDismissedL(TInt /*aButtonId*/) |
920 void CPodcastFeedView::DialogDismissedL(TInt /*aButtonId*/) |
916 { |
921 { |
917 iPodcastModel.FeedEngine().CancelUpdateAllFeeds(); |
922 iPodcastModel.FeedEngine().CancelUpdateAllFeeds(); |
918 } |
923 } |
|
924 |
|
925 void CPodcastFeedView::GetFeedErrorText(TDes &aErrorMessage, TInt aErrorCode) |
|
926 { |
|
927 iEikonEnv->GetErrorText(aErrorMessage, aErrorCode); |
|
928 } |