phonebookui/pbkcommonui/src/cnteditviewlistmodel.cpp
changeset 37 fd64c38c277d
parent 31 2a11b5b00470
child 40 b46a585f6909
equal deleted inserted replaced
31:2a11b5b00470 37:fd64c38c277d
   156         }
   156         }
   157         delete item;
   157         delete item;
   158     }
   158     }
   159 }
   159 }
   160 
   160 
   161 void CntEditViewListModel::refreshExtensionItems( const QModelIndex& aIndex )
   161 void CntEditViewListModel::refreshExtensionItems()
   162 {
   162 {
   163     Q_UNUSED( aIndex );
       
   164     beginResetModel();
   163     beginResetModel();
   165     // remove all extension items
   164     // remove all extension items
   166     for( int i(mItemList.count()-1); i >= 0; i-- )
   165     for( int i(mItemList.count()-1); i >= 0; i-- )
   167     {
   166     {
   168         CntEditViewItem* item = mItemList.at( i );
   167         CntEditViewItem* item = mItemList.at( i );