application/src/PodcastQueueView.cpp
branchnewlist
changeset 355 075b3a49cb55
parent 353 33963ffd3082
child 359 16cc6373c043
--- a/application/src/PodcastQueueView.cpp	Mon Nov 15 22:54:58 2010 +0000
+++ b/application/src/PodcastQueueView.cpp	Mon Nov 15 23:37:25 2010 +0000
@@ -106,11 +106,13 @@
 
 CPodcastQueueView::~CPodcastQueueView()
 	{
+	DP("CPodcastQueueView::~CPodcastQueueView BEGIN");
 	iPodcastModel.ShowEngine().RemoveObserver(this);
 	iPodcastModel.FeedEngine().RemoveObserver(this);
 	
     if(iStylusPopupMenu)
         delete iStylusPopupMenu, iStylusPopupMenu = NULL;
+	DP("CPodcastQueueView::~CPodcastQueueView END");
 	}
 
 
@@ -385,9 +387,9 @@
     if(iStylusPopupMenu && aPenEventLocation.iY < lbHeight)
     {
 		TBool dimDown = (iListContainer->Listbox()->CurrentItemIndex() >= iPodcastModel.ActiveShowList().Count() - 1 ?
-				ETrue : EFalse);
+				(TBool)ETrue : (TBool)EFalse);
 		TBool dimUp = (iListContainer->Listbox()->CurrentItemIndex() <= 0 ?
-				ETrue : EFalse);
+				(TBool)ETrue : (TBool)EFalse);
 		
 		iStylusPopupMenu->SetItemDimmed(EPodcastMoveDownloadDown, dimDown);
 		iStylusPopupMenu->SetItemDimmed(EPodcastMoveDownloadUp, dimUp);