Qt: Fixed status change