X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FLightApp%2FLightApp_SelectionMgr.cxx;h=89875ec57bb9eb6c88abeb4303fd035a8b054f62;hb=331294345d3e1716fbf79ae25a2851011729be79;hp=9b0eafe5c4c1aa31bf60a95c97890d9a1d28a333;hpb=4bcb2f56e92b7eab9f660cb78e8a52121194b0ff;p=modules%2Fgui.git diff --git a/src/LightApp/LightApp_SelectionMgr.cxx b/src/LightApp/LightApp_SelectionMgr.cxx index 9b0eafe5c..89875ec57 100644 --- a/src/LightApp/LightApp_SelectionMgr.cxx +++ b/src/LightApp/LightApp_SelectionMgr.cxx @@ -155,7 +155,7 @@ void LightApp_SelectionMgr::selectedObjects( SALOME_ListIO& theList, if ( refEntry != entry ) { entry = refEntry; QString component = study->componentDataType( entry ); - theList.Append( new SALOME_InteractiveObject( (const char*)entry.toLatin1(), + theList.Append( new SALOME_InteractiveObject( (const char*)entry.toUtf8(), (const char*)component.toLatin1(), ""/*refobj->Name().c_str()*/ ) ); } @@ -425,7 +425,7 @@ void LightApp_SelectionMgr::selectedSubOwners( MapEntryOfMapOfInteger& theMap ) if ( subOwner ) { //#ifndef WIN32 - if ( !theMap.IsBound( TCollection_AsciiString(subOwner->entry().toLatin1().data()) ) ) + if ( !theMap.IsBound( TCollection_AsciiString(subOwner->entry().toUtf8().data()) ) ) //#else // if ( !theMap.IsBound( subOwner->entry().toLatin1().data() ) ) //#endif @@ -442,7 +442,7 @@ void LightApp_SelectionMgr::selectedSubOwners( MapEntryOfMapOfInteger& theMap ) anIndexes.Add( subOwner2->index() ); } // - theMap.Bind( subOwner->entry().toLatin1().data(), anIndexes ); + theMap.Bind( subOwner->entry().toUtf8().data(), anIndexes ); } } }