browserui/browser/SettingsSrc/SettingsContainer.cpp
branchRCL_3
changeset 62 5a044f6358c2
parent 48 5c11946e75b3
--- a/browserui/browser/SettingsSrc/SettingsContainer.cpp	Mon Jun 21 15:43:41 2010 +0300
+++ b/browserui/browser/SettingsSrc/SettingsContainer.cpp	Thu Jul 15 18:42:04 2010 +0300
@@ -1250,7 +1250,7 @@
     CleanupStack::PopAndDestroy(); // defaultAp
     aItemText.Append( KWmlSettingsListBoxItemPostfix );
     
-    if ( id == -1 )
+    if ( id == KWmlNoDefaultAccessPoint )
         {
         // If user hasn't selected an AP, show a blank list entry. Once user
         // selects an AP, it will be displayed.  Note: The browser's default AP
@@ -3362,7 +3362,6 @@
 //
 void CSettingsContainer::HandleListBoxEventL(CEikListBox* aListBox,TListBoxEvent aEventType)
     {
-    TKeyResponse ret = EKeyWasNotConsumed;
     if (iPenEnabled)
         {
         if (iSettingListBox && aListBox == iSettingListBox)
@@ -3446,7 +3445,6 @@
                         case EWmlSettingsSearchProvider:
                         {
                             ChangeItemL( ETrue );
-                            ret = EKeyWasConsumed;
                             break;
                         }
                         default: