Disabled picture in show info dialog
authorteknolog
Thu, 25 Feb 2010 15:23:53 +0000
changeset 3 3326ac3c89fa
parent 2 29cda98b007e
child 4 be243543a361
Disabled picture in show info dialog
application/src/PodcastShowsView.cpp
group/ABLD.BAT
--- 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(); 
 		}
--- a/group/ABLD.BAT	Thu Feb 25 14:29:19 2010 +0000
+++ b/group/ABLD.BAT	Thu Feb 25 15:23:53 2010 +0000
@@ -3,7 +3,7 @@
 REM Bldmake-generated batch file - ABLD.BAT
 REM ** DO NOT EDIT **
 
-perl -S ABLD.PL "\workspace\s60withoutplayer\group\\" %1 %2 %3 %4 %5 %6 %7 %8 %9
+perl -S ABLD.PL "\workspace\podcatcher\group\\" %1 %2 %3 %4 %5 %6 %7 %8 %9
 if errorlevel==1 goto CheckPerl
 goto End