diff -r c8caa15ef882 -r e6a66db4e9d0 presencesettingsui/src/psuigsplugincontainer.cpp --- a/presencesettingsui/src/psuigsplugincontainer.cpp Tue Feb 02 01:05:17 2010 +0200 +++ b/presencesettingsui/src/psuigsplugincontainer.cpp Fri Mar 19 09:37:41 2010 +0200 @@ -49,9 +49,6 @@ { iListBox = new ( ELeave ) CAknSingleStyleListBox();// base needs the iListBox to be prepared 1st BaseConstructL( aRect, R_PSUI_MAINVIEW_TITLE, 0 );// last parameter 0, since dynamic listbox - - iEikMenuBar = new ( ELeave ) CEikMenuBar(); - iEikMenuBar->ConstructL( this, NULL, R_PSUI_MAINVIEW_MENUBAR ); } // --------------------------------------------------------------------------- @@ -61,7 +58,6 @@ // CPSUIGSPluginContainer::~CPSUIGSPluginContainer() { - delete iEikMenuBar; } // --------------------------------------------------------------------------- @@ -116,8 +112,7 @@ TEventCode aType ) { if ( iView && aType == EEventKey - && aKeyEvent.iCode == EKeyBackspace && - iEikMenuBar->ItemSpecificCommandsEnabled() ) + && aKeyEvent.iCode == EKeyBackspace ) { iView->DeleteSettingsL(); return EKeyWasConsumed;