--- a/application/src/PodcastShowsView.cpp Wed May 26 13:13:30 2010 +0100
+++ b/application/src/PodcastShowsView.cpp Wed May 26 15:30:38 2010 +0100
@@ -338,8 +338,16 @@
((CPodcastAppUi*)AppUi())->SetActiveTab(KTabIdQueue);
break;
case EDownloaded:
- iPodcastModel.PlayPausePodcastL(showInfo, ETrue);
+ {
+ TRAPD(err, iPodcastModel.PlayPausePodcastL(showInfo, ETrue));
+ if (err != KErrNone)
+ {
+ HBufC *error = iEikonEnv->AllocReadResourceLC(R_ERROR_PLAYBACK_FAILED);
+ ShowErrorMessageL(*error);
+ CleanupStack::PopAndDestroy(error);
+ }
UpdateListboxItemsL();
+ }
break;
default:
break;