]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
0023090: [CEA 1510] Error at Salome launch with Japanese language
authorvsr <vsr@opencascade.com>
Tue, 5 May 2015 12:01:34 +0000 (15:01 +0300)
committervsr <vsr@opencascade.com>
Tue, 5 May 2015 12:01:34 +0000 (15:01 +0300)
src/SMESHGUI/SMESHGUI.cxx

index d89993957bc2af46550c8ef7d8bd354e9640b362..b781cba0087d0de6c640f63a28da683b8621b94f 100644 (file)
@@ -4754,7 +4754,7 @@ bool SMESHGUI::activateModule( SUIT_Study* study )
     PyErr_Print();
   }
   else {
-    PyObjWrapper result = PyObject_CallMethod( pluginsmanager, (char*)"initialize", (char*)"isss",1,"smesh",tr("MEN_MESH").toStdString().c_str(),tr("SMESH_PLUGINS_OTHER").toStdString().c_str());
+    PyObjWrapper result = PyObject_CallMethod( pluginsmanager, (char*)"initialize", (char*)"isss",1,"smesh",tr("MEN_MESH").toUtf8().data(),tr("SMESH_PLUGINS_OTHER").toUtf8().data());
     if ( !result )
       PyErr_Print();
   }