The Headpiece for the Staff of Ra: Logical fallacies in real life: affirming the consequent
The argument is fallacious because P need not be necessary for Q to come about. Here's a real life illustration. P would be something like 'the Left supports the Enemy' while Q might be 'the Left is critical of the war' or 'the Enemy wins the war'.