phonebookui/Phonebook2/UIControls/src/CPbk2MemoryEntryDefaultsDlg.cpp
branchRCL_3
changeset 15 34879f5cfc63
parent 8 5586b4d2ec3e
equal deleted inserted replaced
13:a6539d1e8e43 15:34879f5cfc63
   832     TBool ret(ETrue);
   832     TBool ret(ETrue);
   833 
   833 
   834     // Skip the line if Email field not supported or having no mailbox
   834     // Skip the line if Email field not supported or having no mailbox
   835     if ( aSelectorID == VPbkFieldTypeSelectorFactory::EEmailEditorSelector )
   835     if ( aSelectorID == VPbkFieldTypeSelectorFactory::EEmailEditorSelector )
   836         {
   836         {
   837         if ( !FeatureManager::FeatureSupported( KFeatureIdEmailUi ) || !HasMailboxAccountsL() )
   837         if ( !FeatureManager::FeatureSupported( KFeatureIdEmailUi ) )
   838         	{
   838         	{
   839         	ret = EFalse;
   839         	ret = EFalse;
   840         	}
   840         	}
   841         }
   841         }
   842     // Do not add video fields if they are not enabled
   842     // Do not add video fields if they are not enabled