equal
deleted
inserted
replaced
1556 FUNC_LOG; |
1556 FUNC_LOG; |
1557 TFsTreeItemId nullId(0); |
1557 TFsTreeItemId nullId(0); |
1558 TPartData partData = iModel->GetMessageL( nullId ); |
1558 TPartData partData = iModel->GetMessageL( nullId ); |
1559 |
1559 |
1560 if ( iFirstStartCompleted && aMailbox == partData.iMailBoxId && |
1560 if ( iFirstStartCompleted && aMailbox == partData.iMailBoxId && |
1561 aEvent == TFSEventMailDeleted && aParam1 && iModel ) // Safety, in list events that only concern active mailbox are handled |
1561 (aEvent == TFSEventMailDeleted || aEvent == TFSEventMailDeletedFromViewer) && aParam1 && iModel ) // Safety, in list events that only concern active mailbox are handled |
1562 { |
1562 { |
1563 RArray<TFSMailMsgId>* removedEntries = static_cast< RArray<TFSMailMsgId>* >(aParam1); |
1563 RArray<TFSMailMsgId>* removedEntries = static_cast< RArray<TFSMailMsgId>* >(aParam1); |
1564 for ( TInt i=0 ; i < removedEntries->Count() ; i++ ) |
1564 for ( TInt i=0 ; i < removedEntries->Count() ; i++ ) |
1565 { |
1565 { |
1566 if ( partData.iMessageId == (*removedEntries)[i] ) |
1566 if ( partData.iMessageId == (*removedEntries)[i] ) |