equal
deleted
inserted
replaced
154 void CShwSlideshowSettingsDialog::SetSlShwToolbarVisibility(TBool aVisible) |
154 void CShwSlideshowSettingsDialog::SetSlShwToolbarVisibility(TBool aVisible) |
155 { |
155 { |
156 TRACER("CShwSlideshowSettingsDialog::SetSlShwToolbarVisibility"); |
156 TRACER("CShwSlideshowSettingsDialog::SetSlShwToolbarVisibility"); |
157 CAknAppUi* appUi = iAvkonAppUi; |
157 CAknAppUi* appUi = iAvkonAppUi; |
158 __ASSERT_DEBUG(appUi, Panic(EGlxPanicNullPointer)); |
158 __ASSERT_DEBUG(appUi, Panic(EGlxPanicNullPointer)); |
159 |
159 if (!appUi) |
|
160 { |
|
161 return; |
|
162 } |
160 CAknToolbar* popupToolbar = appUi->PopupToolbar(); |
163 CAknToolbar* popupToolbar = appUi->PopupToolbar(); |
161 if(popupToolbar) |
164 if(popupToolbar) |
162 { |
165 { |
163 popupToolbar->SetToolbarVisibility( !aVisible ); |
166 popupToolbar->SetToolbarVisibility( !aVisible ); |
164 popupToolbar->MakeVisible( !aVisible ); |
167 popupToolbar->MakeVisible( !aVisible ); |