photosgallery/viewframework/visuallistmanager/src/glxiconmanager.cpp
branchRCL_3
changeset 13 bcb43dc84c44
parent 0 4e91876724a2
--- a/photosgallery/viewframework/visuallistmanager/src/glxiconmanager.cpp	Mon Mar 15 12:40:30 2010 +0200
+++ b/photosgallery/viewframework/visuallistmanager/src/glxiconmanager.cpp	Wed Mar 31 21:31:03 2010 +0300
@@ -62,11 +62,11 @@
 	{
 	TRACER("CGlxIconManager::~CGlxIconManager");
 	GLX_LOG_INFO("CGlxIconManager::~CGlxIconManager");
+
 	if(iUiUtility)
 		{
         iUiUtility->Close();
         }
-                
     
     // remove brushes we've added to visuals in visual list
     TInt mcount = iMediaList.Count();
@@ -142,11 +142,7 @@
     CleanupStack::PushL(imageBrush);
     
     imageBrush->SetLayer(EAlfBrushLayerForeground);
-
-    /// @todo Remove these 2 lines when Hui fixes the image brush rendering bug
     imageBrush->SetBorders(-1,-1,-1,-1);
-   // imageBrush->SetClipToVisual(ETrue);
-    
     iImageBrushArray.AppendL(imageBrush);
     CleanupStack::Pop(imageBrush);
 	}
@@ -168,10 +164,7 @@
     CleanupStack::PushL(imageBrush);
     
     imageBrush->SetLayer( EAlfBrushLayerForeground );
-
-    /// @todo Remove these 2 lines when Hui fixes the image brush rendering bug
     imageBrush->SetBorders(-1,-1,-1,-1);
-   // imageBrush->SetClipToVisual(ETrue);
     
     TAlfTimedValue opacity( aParams.iOpacity, 0 ); 
     imageBrush->SetOpacity( opacity );
@@ -208,7 +201,6 @@
 		    aVisual->EnableBrushesL();	
 	        aVisual->Brushes()->AppendL(iImageBrushArray[aBrushIndex],
 	                                        EAlfDoesNotHaveOwnership );	
-           // aVisual->SetChanged();	                                        	
 		    }
 		}
 	}
@@ -246,7 +238,6 @@
     			if(brush==iImageBrushArray[aIconIndex])
     				{
     				brushArray->Remove(i);
-    			//	aVisual->SetChanged();
     				break;
     				}
     			}