One generally would get both, becuase you would get the automatic credit for the flight you actually took, as that is a computer function.
I was skeptical that I would have received QF credit for my original BA flights, although my experience with AA when similar things happened is no problem.