homesync/contentmanager/mediaservant/src/msfillcontainer.cpp
changeset 32 3785f754ee62
parent 0 7f85d04be362
equal deleted inserted replaced
27:03808033c9a2 32:3785f754ee62
   218     const CListBoxView::CSelectionIndexArray* selected =
   218     const CListBoxView::CSelectionIndexArray* selected =
   219                                             iListBox->SelectionIndexes();
   219                                             iListBox->SelectionIndexes();
   220 
   220 
   221     for ( TInt index = 0; index < selected->Count(); index++ )
   221     for ( TInt index = 0; index < selected->Count(); index++ )
   222         {
   222         {
   223         iSelectedLists.Append( (*selected)[index] );
   223         iSelectedLists.AppendL( (*selected)[index] );
   224         }
   224         }
   225 
   225 
   226     // Set highlighted item
   226     // Set highlighted item
   227     TInt currentItem = iMSAppUi.ParameterAgent()->FillViewFocusIndex();
   227     TInt currentItem = iMSAppUi.ParameterAgent()->FillViewFocusIndex();
   228     if ( currentItem >= 0 )
   228     if ( currentItem >= 0 )
   725         UpdateListBoxDataL();
   725         UpdateListBoxDataL();
   726         iSelectedLists.Reset();
   726         iSelectedLists.Reset();
   727         for ( TInt index = 0; index < selected->Count(); index++ )
   727         for ( TInt index = 0; index < selected->Count(); index++ )
   728             {
   728             {
   729             TInt a = (*selected)[index];
   729             TInt a = (*selected)[index];
   730             iSelectedLists.Append( (*selected)[index] );
   730             iSelectedLists.AppendL( (*selected)[index] );
   731             }
   731             }
   732         }
   732         }
   733 
   733 
   734     return keyResponse;
   734     return keyResponse;
   735     }
   735     }