No, it didn't; QI was established in a case accusing Nixon White House officials of corruptly steering government contracts, which is not “doing your job appropriately”.
And QI doesn't apply to everything, but it is a giant catch-22:
It covers anything without clearly established law on the violation of rights (usually, court precedent with very similar circumstances) at the time of the act. But, simply by its own operation, it prevents cases in which it is applied from establishing such law, because it produces dismissals before the merits are reached. (In some cases, lawsuits against the government entity could establish the violation, but their are a different set of immunities there, plus a hugh propensity for cases with even a shadow of a chance to settle without establishing precedent.)
> Why do we need QI for police committing murder? We don't.
QI doesn’t apply to criminal charges (other cops covering for cops and prosecutors not wanting to hurt their relationships with cops are the only “immunity” cops have there, but that alone is a bigger problem than QI; it does compound the problem with QI, because criminal cases are another venue not subject to QI where the clear precedent on rights could be established, if prosecutions actually occurred, and also because the resort to civil lawsuits that QI blocks is, for cops more than any other class of public officers, a workaround for the criminal justice system being loathe to act against them.)