connectionmonitoring/connectionmonitorui/src/ConnectionMonitorUiAppUi.cpp
branchRCL_3
changeset 12 ea6e024ea6f9
parent 8 2e6c4614c58e
child 15 4dc3bb0099b0
equal deleted inserted replaced
8:2e6c4614c58e 12:ea6e024ea6f9
   385                 if ( connectionInfo )
   385                 if ( connectionInfo )
   386                     {
   386                     {
   387                     CleanupStack::PushL( connectionInfo );
   387                     CleanupStack::PushL( connectionInfo );
   388                     iConnectionArray->AppendL( connectionInfo );
   388                     iConnectionArray->AppendL( connectionInfo );
   389                     CleanupStack::Pop( connectionInfo );
   389                     CleanupStack::Pop( connectionInfo );
   390 
   390 										
   391                     // Avkon: This is needed due to events' timing issues:
   391                     if ( iView->Id() != KDetailsViewId )
   392                     CConnectionMonitorUiView* view =
   392                         {
   393                             ( CConnectionMonitorUiView* )iView;
   393                   	  	// Avkon: This is needed due to events' timing issues:
   394                     view->HandleItemAdditionL();
   394                     		CConnectionMonitorUiView* view =
       
   395                         	    ( CConnectionMonitorUiView* )iView;
       
   396                     	view->HandleItemAdditionL();
       
   397                     	}
   395                     }
   398                     }
   396                 }
   399                 }
   397             
   400             
   398             index = iConnectionArray->GetArrayIndex( connectionId );
   401             index = iConnectionArray->GetArrayIndex( connectionId );
   399             CMUILOGGER_WRITE_F( "Found index :  %d", index );
   402             CMUILOGGER_WRITE_F( "Found index :  %d", index );