application/src/PodcastShowsView.cpp
changeset 13 f58e3c482bd9
parent 10 121100939521
child 14 4e75731546eb
equal deleted inserted replaced
12:47c8595ffc70 13:f58e3c482bd9
   722 		
   722 		
   723 		note->RunLD(); 
   723 		note->RunLD(); 
   724 		}
   724 		}
   725 	}
   725 	}
   726 
   726 
   727 void CPodcastShowsView::UpdateToolbar()
   727 void CPodcastShowsView::UpdateToolbar(TBool aVisible)
   728 {
   728 {
   729 	CAknToolbar* toolbar = Toolbar();
   729 	CAknToolbar* toolbar = Toolbar();
   730 	
   730 
       
   731 	if (!toolbar) {
       
   732 		return;
       
   733 	}
       
   734 	
       
   735 	toolbar->SetToolbarVisibility(aVisible);
       
   736 
   731 	RShowInfoArray &fItems = iPodcastModel.ActiveShowList();
   737 	RShowInfoArray &fItems = iPodcastModel.ActiveShowList();
   732 	TInt itemCnt = fItems.Count();
   738 	TInt itemCnt = fItems.Count();
   733 
   739 
   734 	TBool hideDownloadShowCmd = EFalse;
   740 	TBool hideDownloadShowCmd = EFalse;
   735 	TBool dimDownloadShowCmd = EFalse;
   741 	TBool dimDownloadShowCmd = EFalse;