Salome HOME
Clarification
[modules/smesh.git] / src / SMESHGUI / SMESHGUI_AdaptDlg.cxx
index a83311fdf7375b4fc3ff5dcd8d42e15cf4549c02..2e80bd079a4d15dbef4199022b15b22c8642e254 100644 (file)
@@ -48,7 +48,7 @@ SMESHGUI_AdaptDlg::SMESHGUI_AdaptDlg( SMESHGUI* theModule,
                                       SMESH::SMESH_Mesh_ptr theMesh )
   : mySMESHGUI( theModule )
 {
-  bool ok = action( theCommandID ) ;
+  action( theCommandID ) ;
 }
 
 //=================================================================================
@@ -64,19 +64,19 @@ SMESHGUI_AdaptDlg::~SMESHGUI_AdaptDlg()
   * \param
   * \return bool OK/notOK
 */
-bool SMESHGUI_AdaptDlg::action (int theCommandID)
+void SMESHGUI_AdaptDlg::action (int theCommandID)
 //=======================================================================
 {
   std::cout  << "SMESHGUI_AdaptDlg::action avec theCommandID : " << theCommandID << std::endl;
 
 // Preferences
-  recupPreferences();
+//   recupPreferences();
 
 // Menus and actions
   bool ok =  OnGUIEvent (theCommandID) ;
   if ( ! ok ) INFOS("Erreur");
 
-  return ok ;
+  return ;
 }
 
 /*!