Salome HOME
for MG-adapt TUI
[modules/smesh.git] / src / SMESHGUI / SMESHGUI_MG_ADAPTDRIVER.cxx
index 56180d0436a9d987481a68563212ec058c79bd2a..0025f57510662454394c90cfebfc262c2536c11f 100644 (file)
@@ -376,7 +376,8 @@ bool SMESHGUI_MG_ADAPTDRIVER::execute()
     char* errStr;
     try
     {
-        err = getModel()->compute(errStr);
+        err = getModel()->compute();
+        errStr = getModel()->getErrMsg();
         std::string msg =  err == 0 ? " ok" : std::string("Not ok \n")+CORBA::string_dup(errStr) ;
     }
     catch (const std::exception& e)