equal
deleted
inserted
replaced
324 DP2("Handle event for podcast %S, downloadState is %d", &(fItems[index]->Title()), fItems[index]->DownloadState()); |
324 DP2("Handle event for podcast %S, downloadState is %d", &(fItems[index]->Title()), fItems[index]->DownloadState()); |
325 CShowInfo *showInfo = fItems[index]; |
325 CShowInfo *showInfo = fItems[index]; |
326 |
326 |
327 switch (showInfo->DownloadState()) { |
327 switch (showInfo->DownloadState()) { |
328 case ENotDownloaded: |
328 case ENotDownloaded: |
|
329 case EFailedDownload: |
329 HandleCommandL(EPodcastDownloadShow); |
330 HandleCommandL(EPodcastDownloadShow); |
330 break; |
331 break; |
|
332 case EDownloading: |
331 case EQueued: |
333 case EQueued: |
332 AppUi()->ActivateLocalViewL(KUidPodcastQueueViewID, TUid::Uid(0), KNullDesC8()); |
334 AppUi()->ActivateLocalViewL(KUidPodcastQueueViewID, TUid::Uid(0), KNullDesC8()); |
333 ((CPodcastAppUi*)AppUi())->SetActiveTab(KTabIdQueue); |
335 ((CPodcastAppUi*)AppUi())->SetActiveTab(KTabIdQueue); |
334 break; |
336 break; |
335 case EDownloaded: |
337 case EDownloaded: |