Updated QStatic.when to better reflect the actual signature of the method.