From: asv Date: Mon, 10 Oct 2005 06:11:44 +0000 (+0000) Subject: Fixed a compilation error if Qt does not have STL support. X-Git-Tag: BR-D5-38-2003_D2005-12-19~10 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=84d15332ec2d1cd462e789dfef05a11165981b01;p=modules%2Fgui.git Fixed a compilation error if Qt does not have STL support. --- diff --git a/src/SalomeApp/SalomeApp_Selection.cxx b/src/SalomeApp/SalomeApp_Selection.cxx index 14bcc8ad5..894c73393 100644 --- a/src/SalomeApp/SalomeApp_Selection.cxx +++ b/src/SalomeApp/SalomeApp_Selection.cxx @@ -75,7 +75,7 @@ QtxValue SalomeApp_Selection::param( const int ind, const QString& p ) const } else if( p=="component" ) { - _PTR(SObject) obj( study()->studyDS()->FindObjectID( myEntries[ ind ] ) ); + _PTR(SObject) obj( study()->studyDS()->FindObjectID( myEntries[ ind ].latin1() ) ); _PTR(SComponent) comp = obj->GetFatherComponent(); QString mod_name = comp->ComponentDataType().c_str(); //cout << "component : " << ind << " >> " << mod_name.latin1() << endl;