Salome HOME
Unicode support
[modules/smesh.git] / src / OBJECT / SMESH_PreviewActorsCollection.cxx
index 4269c50ad00b78156d4438d494cf6a1d2b8cb7bf..7fcd1bcb59614946b547a51165bbe06e10eceef6 100644 (file)
@@ -84,7 +84,7 @@ bool SMESH_PreviewActorsCollection::Init( const TopoDS_Shape& theShape,
     return false;
 
   // Handle( SALOME_InteractiveObject ) anIO = new SALOME_InteractiveObject();
-  // anIO->setEntry( theEntry.toLatin1().constData() );
+  // anIO->setEntry( theEntry.toUtf8().constData() );
   
   // get indexes of seleted elements
   TopExp::MapShapes( theMainShape, myMapOfShapes );
@@ -248,7 +248,7 @@ void SMESH_PreviewActorsCollection::showCurrentChunk()
       QString entry = QString( "%1_%2" ).arg( myEntry ).arg( index );
       // Create interactive object
       Handle( SALOME_InteractiveObject ) anIO = new SALOME_InteractiveObject();
-      anIO->setEntry( entry.toLatin1().constData() );
+      anIO->setEntry( entry.toUtf8().constData() );
       // Init Actor
       anActor->SetVectorMode( myType==TopAbs_EDGE );
       anActor->setIO( anIO );