--- a/application/src/PodcastShowsView.cpp Wed May 26 11:30:03 2010 +0100
+++ b/application/src/PodcastShowsView.cpp Wed May 26 17:46:55 2010 +0100
@@ -337,8 +337,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;