Salome HOME
Unicode support: correct handling of unicode on GUI level
[modules/gui.git] / src / LightApp / LightApp_Plot2dSelector.cxx
index 8b754fb695b453144724105003309d77e89d14e0..f903cb5dafc121ea7016b73247119efa9697f0ce 100755 (executable)
@@ -57,7 +57,7 @@ void LightApp_Plot2dSelector::getSelection( SUIT_DataOwnerPtrList& theList ) con
 {
   if( !myCurEntry.isNull() ) {
 #ifndef DISABLE_SALOMEOBJECT
-    theList.append( new LightApp_DataOwner( new SALOME_InteractiveObject(qPrintable(myCurEntry),"","") ) );
+    theList.append( new LightApp_DataOwner( new SALOME_InteractiveObject(qUtf8Printable(myCurEntry),"","") ) );
 #else
     theList.append( new LightApp_DataOwner( myCurEntry ) );
 #endif
@@ -76,7 +76,7 @@ void LightApp_Plot2dSelector::setSelection( const SUIT_DataOwnerPtrList& theList
            anIOList.Append(owner->IO());
       }
       else if ( !owner->entry().isEmpty() ) {
-           anIOList.Append( new SALOME_InteractiveObject(qPrintable(owner->entry()),"","") );
+           anIOList.Append( new SALOME_InteractiveObject(qUtf8Printable(owner->entry()),"","") );
       }      
     }
   }