From 84d15332ec2d1cd462e789dfef05a11165981b01 Mon Sep 17 00:00:00 2001 From: asv Date: Mon, 10 Oct 2005 06:11:44 +0000 Subject: [PATCH] Fixed a compilation error if Qt does not have STL support. --- src/SalomeApp/SalomeApp_Selection.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.2