Ideally you would leave it set to QNH until passing transition altitude. That way when asked for a passing level the controller can cross reference what you report with the mode C. But this does the leave the pilot open to forgetting. Probably better to go with the procedure above.