photosgallery/contentharvesterplugin/src/glxcontentharvesterplugindownloads.cpp
changeset 2 7d9067c6fcb1
parent 1 9ba538e329bd
equal deleted inserted replaced
1:9ba538e329bd 2:7d9067c6fcb1
   123 // ----------------------------------------------------------------------------
   123 // ----------------------------------------------------------------------------
   124 //
   124 //
   125 void CGlxContentHarvesterPluginDownloads::UpdateDataL() 
   125 void CGlxContentHarvesterPluginDownloads::UpdateDataL() 
   126     {
   126     {
   127     TRACER( "CGlxContentHarvesterPluginDownloads::UpdateDataL" );
   127     TRACER( "CGlxContentHarvesterPluginDownloads::UpdateDataL" );
   128     if(iMediaList && iMediaList->Count() && iPreviewItemCount.Count() )
   128 
       
   129     if (!iMediaList)
       
   130         {
       
   131         return;
       
   132         }
       
   133 
       
   134     if (iMediaList->Count() && iPreviewItemCount.Count())
   129         {
   135         {
   130         GLX_LOG_INFO1("CGlxContentHarvesterPluginDownloads::UpdateDataL(),iProgressIndex=%d",iProgressIndex);
   136         GLX_LOG_INFO1("CGlxContentHarvesterPluginDownloads::UpdateDataL(),iProgressIndex=%d",iProgressIndex);
   131         TInt ret = UpdateItem(iPreviewItemCount[iProgressIndex]);
   137         TInt ret = UpdateItem(iPreviewItemCount[iProgressIndex]);
   132         if(ret != KErrNotFound)
   138         if(ret != KErrNotFound)
   133             {
   139             {