QUALmode in retyping a qualifier

Thanks to https://github.com/miniboxing/valium/commit/eb6236996cc3ef98afe4bf022e69157c468fecad.