Fix for crash in S3 version RCL_3
authorSebastian Brannstrom <sebastianb@symbian.org>
Tue, 26 Oct 2010 10:24:20 +0100
branchRCL_3
changeset 293 b5bd609d3792
parent 292 655dbce90b70
child 294 e5240be0ddbb
Fix for crash in S3 version
application/src/PodcastShowsView.cpp
--- a/application/src/PodcastShowsView.cpp	Mon Oct 25 14:04:32 2010 +0100
+++ b/application/src/PodcastShowsView.cpp	Tue Oct 26 10:24:20 2010 +0100
@@ -632,18 +632,6 @@
 
 		TInt index = iListContainer->Listbox()->CurrentItemIndex();
 		
-		TBool showMarkAllPlayed = EFalse;
-		for (int i=0;i<iPodcastModel.ActiveShowList().Count();i++)
-			{
-			CShowInfo* info = iPodcastModel.ActiveShowList()[i];
-			if (info->PlayState() == ENeverPlayed)
-				{
-				showMarkAllPlayed = ETrue;
-				break;
-				}
-			
-			}
-		
 		if (index >= 0 && index < iPodcastModel.ActiveShowList().Count())
 			{			
 			CShowInfo* info = iPodcastModel.ActiveShowList()[index];
@@ -657,7 +645,6 @@
 						
 			aMenuPane->SetItemDimmed(EPodcastDownloadShow, hideDownloadShowCmd);
 			aMenuPane->SetItemDimmed(EPodcastDeleteShow, hideDeleteShowCmd);
-			aMenuPane->SetItemDimmed(EPodcastMarkAllPlayed, !showMarkAllPlayed);
 			}
 		}
 }