]> SALOME platform Git repositories - modules/geom.git/blobdiff - src/XAOPlugin/XAOPlugin_ImportDlg.cxx
Salome HOME
Unicode support: correct handling of unicode on GUI level
[modules/geom.git] / src / XAOPlugin / XAOPlugin_ImportDlg.cxx
index 398c670b6645a19e8b46f7c5202068c8b1fb2ab9..4aa4aed83b60c1d4c6fc78215ef87856fa72cb4b 100644 (file)
@@ -332,7 +332,7 @@ QString XAOPlugin_ImportDlg::addFieldInStudy( GEOM::GEOM_Field_ptr theField, GEO
     GEOM::GEOM_FieldStep_ptr step = theField->GetStep(steps[i]);
     QString stepName = (tr("XAOPLUGIN_STEP") + " %1 %2").arg( step->GetID() ).arg( step->GetStamp() );
     SALOMEDS::SObject_wrap aSOField =
-      getGeomEngine()->AddInStudy( step, stepName.toLatin1().constData(), theField );
+      getGeomEngine()->AddInStudy( step, stepName.toUtf8().constData(), theField );
     step->UnRegister();
   }