application/src/PodcastShowsView.cpp
changeset 3 3326ac3c89fa
parent 2 29cda98b007e
child 4 be243543a361
--- a/application/src/PodcastShowsView.cpp	Thu Feb 25 14:29:19 2010 +0000
+++ b/application/src/PodcastShowsView.cpp	Thu Feb 25 15:23:53 2010 +0000
@@ -692,35 +692,35 @@
 							
 		note->PrepareLC( R_SHOW_INFO_NOTE ); // Adds to CleanupStack
 		
-		if(feedInfo && feedInfo->ImageFileName().Length()>0)
-			{
-			CFbsBitmap * bitmap = new (ELeave) CFbsBitmap;
-			CleanupStack::PushL(bitmap);
-			
-			TRAPD(loaderror, iPodcastModel.ImageHandler().LoadFileAndScaleL(bitmap, feedInfo->ImageFileName(), TSize(KPodcastImageWidth, KPodcastImageHeight), *this));
-			
-			if(loaderror == KErrNone)
-				{
-				CActiveScheduler::Start();
-				if(iLastImageHandlerError == KErrNone)
-					{	
-					CEikImage* image = static_cast<CEikImage*>(note->ControlOrNull(EPodcastShowInfoImage));
-					image->SetBitmap(bitmap);
-					CleanupStack::Pop(bitmap);
-					bitmap = NULL;
-					}
-				else
-					{				
-					CleanupStack::PopAndDestroy(bitmap);
-					bitmap = NULL;
-					}
-				}
-			else
-				{
-				CleanupStack::PopAndDestroy(bitmap);
-				bitmap = NULL;
-				}
-			}												
+//		if(feedInfo && feedInfo->ImageFileName().Length()>0)
+//			{
+//			CFbsBitmap * bitmap = new (ELeave) CFbsBitmap;
+//			CleanupStack::PushL(bitmap);
+//			
+//			TRAPD(loaderror, iPodcastModel.ImageHandler().LoadFileAndScaleL(bitmap, feedInfo->ImageFileName(), TSize(KPodcastImageWidth, KPodcastImageHeight), *this));
+//			
+//			if(loaderror == KErrNone)
+//				{
+//				CActiveScheduler::Start();
+//				if(iLastImageHandlerError == KErrNone)
+//					{	
+//					CEikImage* image = static_cast<CEikImage*>(note->ControlOrNull(EPodcastShowInfoImage));
+//					image->SetBitmap(bitmap);
+//					CleanupStack::Pop(bitmap);
+//					bitmap = NULL;
+//					}
+//				else
+//					{				
+//					CleanupStack::PopAndDestroy(bitmap);
+//					bitmap = NULL;
+//					}
+//				}
+//			else
+//				{
+//				CleanupStack::PopAndDestroy(bitmap);
+//				bitmap = NULL;
+//				}
+//			}												
 		
 		note->RunLD(); 
 		}