Fix warning class being applied to every #qp