equal
deleted
inserted
replaced
170 const TDesC& aText, |
170 const TDesC& aText, |
171 const TInt aDialogResource, |
171 const TInt aDialogResource, |
172 const CAknQueryDialog::TTone aTone ) |
172 const CAknQueryDialog::TTone aTone ) |
173 { |
173 { |
174 FUNC_LOG; |
174 FUNC_LOG; |
175 CAknLocalScreenClearer* localScreenClearer = |
|
176 CAknLocalScreenClearer::NewL( EFalse ); |
|
177 CleanupStack::PushL( localScreenClearer ); |
|
178 |
175 |
179 // Create dialog and execute the dialog |
176 // Create dialog and execute the dialog |
180 CAknQueryDialog* dlg = CAknQueryDialog::NewL( aTone ); |
177 CAknQueryDialog* dlg = CAknQueryDialog::NewL( aTone ); |
181 TInt button = dlg->ExecuteLD( aDialogResource, aText ); |
178 TInt button = dlg->ExecuteLD( aDialogResource, aText ); |
182 CleanupStack::PopAndDestroy( localScreenClearer ); |
|
183 |
179 |
184 return button; |
180 return button; |
185 } |
181 } |
186 |
182 |
187 // ---------------------------------------------------------------------------- |
183 // ---------------------------------------------------------------------------- |