application/src/PodcastQueueView.cpp
branchsymbian1
changeset 173 8466fe8528b6
parent 169 9c77455964f8
child 175 cd124c4eb6b9
child 183 913f0f0e98fc
equal deleted inserted replaced
169:9c77455964f8 173:8466fe8528b6
   271 			if(resumeAfterMove)
   271 			if(resumeAfterMove)
   272 				{
   272 				{
   273 				iPodcastModel.ShowEngine().ResumeDownloadsL();
   273 				iPodcastModel.ShowEngine().ResumeDownloadsL();
   274 				}
   274 				}
   275 				
   275 				
       
   276 			UpdateListboxItemsL();
   276 			iListContainer->Listbox()->SetCurrentItemIndex(index - 1);
   277 			iListContainer->Listbox()->SetCurrentItemIndex(index - 1);
   277 			UpdateListboxItemsL();
       
   278 			}
   278 			}
   279 			break;
   279 			break;
   280 		case EPodcastMoveDownloadDown:
   280 		case EPodcastMoveDownloadDown:
   281 			{
   281 			{
   282 			TInt index = iListContainer->Listbox()->CurrentItemIndex();
   282 			TInt index = iListContainer->Listbox()->CurrentItemIndex();
   295 			if(resumeAfterMove)
   295 			if(resumeAfterMove)
   296 				{
   296 				{
   297 				iPodcastModel.ShowEngine().ResumeDownloadsL();
   297 				iPodcastModel.ShowEngine().ResumeDownloadsL();
   298 				}
   298 				}
   299 			
   299 			
   300 			iListContainer->Listbox()->SetCurrentItemIndex(index - 1);
       
   301 			UpdateListboxItemsL();
   300 			UpdateListboxItemsL();
       
   301 			iListContainer->Listbox()->SetCurrentItemIndex(index + 1);
   302 			}
   302 			}
   303 			break;
   303 			break;
   304 		case EPodcastSuspendDownloads:
   304 		case EPodcastSuspendDownloads:
   305 			{
   305 			{
   306 			iPodcastModel.ShowEngine().SuspendDownloads();
   306 			iPodcastModel.ShowEngine().SuspendDownloads();