--- 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 <akntabgrp.h>
#include <AknsConstants.h> //For skinned icons
#include <csxhelp/log.hlp.hrh>
-#include <logs.rsg>
+#include <Logs.rsg>
#include <logs.mbg> //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)