equal
deleted
inserted
replaced
335 case EQueued: |
335 case EQueued: |
336 AppUi()->ActivateLocalViewL(KUidPodcastQueueViewID, TUid::Uid(0), KNullDesC8()); |
336 AppUi()->ActivateLocalViewL(KUidPodcastQueueViewID, TUid::Uid(0), KNullDesC8()); |
337 ((CPodcastAppUi*)AppUi())->SetActiveTab(KTabIdQueue); |
337 ((CPodcastAppUi*)AppUi())->SetActiveTab(KTabIdQueue); |
338 break; |
338 break; |
339 case EDownloaded: |
339 case EDownloaded: |
340 iPodcastModel.PlayPausePodcastL(showInfo, ETrue); |
340 { |
|
341 TRAPD(err, iPodcastModel.PlayPausePodcastL(showInfo, ETrue)); |
|
342 if (err != KErrNone) |
|
343 { |
|
344 HBufC *error = iEikonEnv->AllocReadResourceLC(R_ERROR_PLAYBACK_FAILED); |
|
345 ShowErrorMessageL(*error); |
|
346 CleanupStack::PopAndDestroy(error); |
|
347 } |
341 UpdateListboxItemsL(); |
348 UpdateListboxItemsL(); |
|
349 } |
342 break; |
350 break; |
343 default: |
351 default: |
344 break; |
352 break; |
345 } |
353 } |
346 } |
354 } |