Update QCameraStateMachine.cpp

commitParameterChanges() can set parameters