profilesapplication/Profiles/ProfileApp/SettingsViewSrc/CProfileSettingsContainer.cpp
changeset 2 627793106ff9
parent 1 09d076ed0f23
child 10 b79ee333c41d
equal deleted inserted replaced
1:09d076ed0f23 2:627793106ff9
   198         // the name of current profile.
   198         // the name of current profile.
   199         iNaviPaneContainer = CProfileNaviPaneContainer::NewL(
   199         iNaviPaneContainer = CProfileNaviPaneContainer::NewL(
   200                 *( iAvkonAppUi->StatusPane() ), iEngineHandler );
   200                 *( iAvkonAppUi->StatusPane() ), iEngineHandler );
   201 
   201 
   202         MProfilesNamesArray* nameArray = iEngineHandler.IdArray();
   202         MProfilesNamesArray* nameArray = iEngineHandler.IdArray();
   203         iNaviPaneContainer->SetNaviPaneTextL( 
   203         if( iIndexHandler )
   204             nameArray->MdcaPoint( iIndexHandler->CurrentProfileIndex() ) );
   204             {
       
   205             iNaviPaneContainer->SetNaviPaneTextL( 
       
   206                 nameArray->MdcaPoint( iIndexHandler->CurrentProfileIndex() ) );
       
   207             }
   205         }
   208         }
   206 
   209 
   207     iNotifier = CProfileChangeNotifyHandler::NewL( this );
   210     iNotifier = CProfileChangeNotifyHandler::NewL( this );
   208 
   211 
   209     iExternalSettingsHandler.SetObserver( *this );
   212     iExternalSettingsHandler.SetObserver( *this );