diff -r 6b5524b4f673 -r 38bb213f60ba logsui/AppSrc/CLogsRecentListControlContainer.cpp --- a/logsui/AppSrc/CLogsRecentListControlContainer.cpp Wed Sep 15 11:56:55 2010 +0300 +++ b/logsui/AppSrc/CLogsRecentListControlContainer.cpp Wed Oct 13 14:15:33 2010 +0300 @@ -23,7 +23,7 @@ #include #include //For skinned icons #include -#include +#include #include //Index file for Logs icons. #include "CLogsRecentListControlContainer.h" @@ -119,18 +119,11 @@ iAdapter = CLogsRecentListAdapter::NewL( this, iLastOwnIconOffset ); - // Shows "No missed calls" in this case - MakeEmptyTextListBoxL( iListBox, EmptyListboxResourceL() ); iListBox->Model()->SetItemTextArray( iAdapter ); - // Fetch data for extension - if( iView->CurrentModel()->Count() > 0 ) - { - iControlExtension->HandleAdditionalData( - *( iView->CurrentModel() ), - *iListBox ); - } - + //The below was a bad place for this as container is not deleted when we lose foreground + //but we still reread events. Instead we handle this in CLogsRecentListView::StateChangedL + //MakeEmptyTextListBoxL( iListBox, EmptyListboxResource() ); //Shows "no data" in this case MakeScrollArrowsL( iListBox ); //Create recent list view tab group (Logs.rss)