]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Fixed a compilation error if Qt does not have STL support.
authorasv <asv@opencascade.com>
Mon, 10 Oct 2005 06:11:44 +0000 (06:11 +0000)
committerasv <asv@opencascade.com>
Mon, 10 Oct 2005 06:11:44 +0000 (06:11 +0000)
src/SalomeApp/SalomeApp_Selection.cxx

index 14bcc8ad544f8f9e0a0e34a2b1d6f50149b21c7a..894c73393092f60166934b7f2105250f320c2039 100644 (file)
@@ -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;