ipsservices/ipssossettings/src/ipssetuinotes.cpp
branchRCL_3
changeset 23 dcf0eedfc1a3
parent 0 8466d47a6819
equal deleted inserted replaced
22:d620048b4810 23:dcf0eedfc1a3
   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 // ----------------------------------------------------------------------------