ui/uiengine/medialists/src/glxthumbnailcontext.cpp
changeset 55 fb37077c270f
parent 49 f291796e213d
--- a/ui/uiengine/medialists/src/glxthumbnailcontext.cpp	Tue Jul 06 14:16:16 2010 +0300
+++ b/ui/uiengine/medialists/src/glxthumbnailcontext.cpp	Wed Aug 18 09:48:53 2010 +0300
@@ -32,7 +32,6 @@
 #include "glxmedialist.h"
 #include "glxerrormanager.h"
 #include "glxthumbnailutility.h"
-//#include "mglxcache.h"
 #include "glxlistutils.h"
 
 /**
@@ -80,10 +79,7 @@
 void CGlxThumbnailContext::ConstructL()    
     {
     TRACER( "CGlxThumbnailContext::ConstructL");
-    
-    //iCache = MGlxCache::InstanceL();
     iResolutionUtility = CGlxResolutionUtility::InstanceL();
-  //  iResolutionUtility->AddObserverL( *this );
 
     iDrmUtility = CGlxDRMUtility::InstanceL();
 
@@ -130,16 +126,9 @@
 
     iSpecs.Close();
 
-    if ( iResolutionUtility )
-        {
-      //  iResolutionUtility->RemoveObserver( *this );
-        iResolutionUtility->Close();
-        }
+
 
-    /*if ( iCache )
-        {
-        iCache->Close();
-        }*/
+
     }
 
 // -----------------------------------------------------------------------------
@@ -363,17 +352,7 @@
     return requestCount;
     }
 
-// -----------------------------------------------------------------------------
-// HandleResolutionChanged
-// -----------------------------------------------------------------------------
-//
-/*void CGlxThumbnailContext::HandleResolutionChangedL()
-    {
-    TRACER( "CGlxThumbnailContext::HandleResolutionChanged");
-    
-    // Ask cache manager to refresh, to fetch thumbnails in new size
-    iCache->RefreshL();
-    }*/
+
 
 // -----------------------------------------------------------------------------
 // SelectItemL