--- a/phonebookui/Phonebook2/UIControls/src/CPbk2NamesListReadyState.cpp Tue May 11 16:00:21 2010 +0300
+++ b/phonebookui/Phonebook2/UIControls/src/CPbk2NamesListReadyState.cpp Tue May 25 12:26:45 2010 +0300
@@ -1611,23 +1611,6 @@
{
ret |= KPbk2ListContainsNoMarkedItems;
}
-
- TInt focusIndex = iListBox.CurrentItemIndex();
- // Non-contact items are not expandable.
- const TInt commandItemCount = CommandItemCount();
- if ( focusIndex < commandItemCount )
- {
- // It is not a contact.
- focusIndex = KErrNotFound;
- }
-
- // There is an offset between view indexes and listbox indexes.
- if (focusIndex >= 0 &&
- iViewStack.ContactAtL(focusIndex - commandItemCount).Expandable())
- {
- ret |= KPbk2FocusedItemIsExpandable;
- }
-
return ret;
}