videocollection/hgmyvideos/src/vcxhgmyvideoscategorymodelhandler.cpp
branchRCL_3
changeset 20 2d690156cf8f
parent 18 baf439b22ddd
equal deleted inserted replaced
18:baf439b22ddd 20:2d690156cf8f
  1060         
  1060         
  1061         if ( !aError )
  1061         if ( !aError )
  1062             {
  1062             {
  1063             thumbnail = CGulIcon::NewL( aThumbnail.DetachBitmap() );
  1063             thumbnail = CGulIcon::NewL( aThumbnail.DetachBitmap() );
  1064             CleanupStack::PushL( thumbnail );
  1064             CleanupStack::PushL( thumbnail );
       
  1065             SetLastWatchedIndicatorL();
  1065             }
  1066             }
  1066         else
  1067         else
  1067             {
  1068             {
  1068             TFileName iconFile( KVcxHgMyVideosMifFile );
  1069             TFileName iconFile( KVcxHgMyVideosMifFile );
  1069             thumbnail = CreateHgListIconL( 
  1070             thumbnail = CreateHgListIconL( 
  1075             CleanupStack::PushL( thumbnail );
  1076             CleanupStack::PushL( thumbnail );
  1076             }
  1077             }
  1077         
  1078         
  1078         listItem.SetIcon( thumbnail ); // Takes ownership
  1079         listItem.SetIcon( thumbnail ); // Takes ownership
  1079         CleanupStack::Pop( thumbnail );
  1080         CleanupStack::Pop( thumbnail );
  1080         SetLastWatchedIndicatorL();
       
  1081         iScroller.RefreshScreen( lastWatchedIndex );
  1081         iScroller.RefreshScreen( lastWatchedIndex );
  1082         }
  1082         }
  1083     }
  1083     }
  1084 
  1084 
  1085 
  1085