imageeditor/ImageEditorUI/src/ColorSelectionPopup.cpp
changeset 8 18b321db4884
parent 1 edfc90759b9f
--- a/imageeditor/ImageEditorUI/src/ColorSelectionPopup.cpp	Fri Jan 29 13:53:17 2010 +0200
+++ b/imageeditor/ImageEditorUI/src/ColorSelectionPopup.cpp	Thu Jun 03 18:57:10 2010 +0800
@@ -264,8 +264,6 @@
     
     CWindowGc& gc = SystemGc();
     
-    CPreviewControlBase::DrawPreviewImage (Rect());
-    
     // Change brush to null to enable transparent drawing
     gc.SetBrushStyle (CGraphicsContext::ENullBrush);
                 
@@ -904,7 +902,6 @@
     {    
     if( AknLayoutUtils::PenEnabled() )
 	    {
-        TBool draw( EFalse );
         switch( aPointerEvent.iType )
 			{
 			case TPointerEvent::EButton1Down:
@@ -920,7 +917,6 @@
 	                	}
 #endif /* RD_TACTILE_FEEDBACK  */			        	        
 			        iPopup->HandlePointerEventL( aPointerEvent );			        
-			        draw = ETrue;
 			        }    		        
 				break;
 				}
@@ -936,7 +932,6 @@
 	                	}
 #endif /* RD_TACTILE_FEEDBACK  */
 			        iPopup->HandlePointerEventL( aPointerEvent );
-			        draw = ETrue;
 			        }
 				break;		
 				}
@@ -954,11 +949,6 @@
 				break;	
 				}	
 			}
-			
-	    if ( draw )
-	        {
-		    DrawDeferred();    
-	        }	
         }
     }