Salome HOME
updated copyright message
[modules/shaper.git] / src / ParametersPlugin / ParametersPlugin_WidgetCreator.cpp
index a144ce7398608a6f05ee0c041363510335f94337..0c91f8507361c577123986828009f2f05afd946a 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2019  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2023  CEA, EDF
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -38,11 +38,11 @@ ModuleBase_ModelWidget*
   ParametersPlugin_WidgetCreator::createWidgetByType(const std::string& theType,
                                                      QWidget* theParent,
                                                      Config_WidgetAPI* theWidgetApi,
-                                                     ModuleBase_IWorkshop* /*theWorkshop*/)
+                                                     ModuleBase_IWorkshop* theWorkshop)
 {
   ModuleBase_ModelWidget* aModelWidget = 0;
   if (theType == "parameters-manager") {
-    aModelWidget = new ParametersPlugin_WidgetParamsMgr(theParent, theWidgetApi);
+    aModelWidget = new ParametersPlugin_WidgetParamsMgr(theParent, theWidgetApi, theWorkshop);
   }
   return aModelWidget;
 }