From: rnv Date: Fri, 6 Dec 2013 07:51:59 +0000 (+0000) Subject: Fix for the "0022421: EDF 2805 GEOM: Save in a repertory with an accent fails" issue. X-Git-Tag: V7_3_0~12 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=43ca84842dfd354e1c4e0175c29040563e65c6d4;p=modules%2Fgui.git Fix for the "0022421: EDF 2805 GEOM: Save in a repertory with an accent fails" issue. --- diff --git a/src/SalomeApp/SalomeApp_Study.cxx b/src/SalomeApp/SalomeApp_Study.cxx index a4ae7c10d..f483ef866 100644 --- a/src/SalomeApp/SalomeApp_Study.cxx +++ b/src/SalomeApp/SalomeApp_Study.cxx @@ -427,7 +427,7 @@ QString SalomeApp_Study::studyName() const // it can be changed outside of GUI // TEMPORARILY SOLUTION: better to be implemented with help of SALOMEDS observers if ( studyDS() ) { - QString newName = studyDS()->Name().c_str(); + QString newName = QString::fromUtf8(studyDS()->Name().c_str()); if ( LightApp_Study::studyName() != newName ) { SalomeApp_Study* that = const_cast( this ); that->setStudyName( newName );