diff -r b01126ce0bec -r ba63c83f4716 idlehomescreen/nativeuicontroller/src/aitoolbarrenderer.cpp --- a/idlehomescreen/nativeuicontroller/src/aitoolbarrenderer.cpp Wed Sep 15 12:00:00 2010 +0300 +++ b/idlehomescreen/nativeuicontroller/src/aitoolbarrenderer.cpp Wed Oct 13 14:18:30 2010 +0300 @@ -36,7 +36,7 @@ #include "ainativeuiplugins.h" -#include +#include #include "debug.h" using namespace AiNativeUiController; @@ -337,10 +337,8 @@ if ( index >= iButtons.Count() ) { button = CAiToolbarButton::NewL(); - CleanupStack::PushL( button ); button->SetShortcutId( aShortcutId ); - iButtons.AppendL( button ); - CleanupStatck::Pop( button ); + iButtons.Append( button ); } // Use the old button