phonebookui/Phonebook2/UIControls/src/CPbk2NamesListReadyState.cpp
branchRCL_3
changeset 35 4ae315f230bc
parent 23 5586b4d2ec3e
child 39 a6539d1e8e43
--- 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;
     }