Salome HOME
Typo and whitespace fixes by Kunda
[modules/smesh.git] / src / OBJECT / SMESH_PreviewActorsCollection.cxx
index 4269c50ad00b78156d4438d494cf6a1d2b8cb7bf..8cdc0091298da5ed4af08ae48b5c67a3d83773fe 100644 (file)
@@ -84,9 +84,9 @@ bool SMESH_PreviewActorsCollection::Init( const TopoDS_Shape& theShape,
     return false;
 
   // Handle( SALOME_InteractiveObject ) anIO = new SALOME_InteractiveObject();
-  // anIO->setEntry( theEntry.toLatin1().constData() );
-  
-  // get indexes of seleted elements
+  // anIO->setEntry( theEntry.toUtf8().constData() );
+
+  // get indexes of selected elements
   TopExp::MapShapes( theMainShape, myMapOfShapes );
   TopExp_Explorer exp( theShape, theType );
   QSet<int> indices;
@@ -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 );