From: rnv Date: Fri, 6 Jun 2014 06:28:22 +0000 (+0400) Subject: Support of the Unicode symbols. X-Git-Tag: V7_5_0a1~44 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=e3b1ba63be4f720f08c5e940627db6095609f21f;p=modules%2Fgui.git Support of the Unicode symbols. --- diff --git a/src/SalomeApp/SalomeApp_DataObject.cxx b/src/SalomeApp/SalomeApp_DataObject.cxx index 28c4acebc..f4f622f61 100644 --- a/src/SalomeApp/SalomeApp_DataObject.cxx +++ b/src/SalomeApp/SalomeApp_DataObject.cxx @@ -82,12 +82,12 @@ QString SalomeApp_DataObject::name() const { QString str; if ( myObject ) - str = myObject->GetName().c_str(); + str = QString::fromUtf8( myObject->GetName().c_str() ); if ( str.isEmpty() ) { _PTR(SObject) refObj = referencedObject(); if ( refObj ) - str = refObj->GetName().c_str(); + str = QString::fromUtf8( refObj->GetName().c_str() ); } if ( isReference() ) {