profilesapplication/Profiles/ProfileApp/SettingsViewSrc/CProfileSettingsContainer.cpp
equal
deleted
inserted
replaced
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 ); |