From: mkr Date: Fri, 18 Nov 2005 07:54:45 +0000 (+0000) Subject: Conversion between C-string and STL-string. X-Git-Tag: BR_3_1_0_deb~70 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=61da39fe3d2f0d1042dfd9d91e9c667d523a23f1;p=modules%2Fgui.git Conversion between C-string and STL-string. --- diff --git a/src/SalomeApp/SalomeApp_Study.cxx b/src/SalomeApp/SalomeApp_Study.cxx index 98b68ca27..d9a25aef6 100644 --- a/src/SalomeApp/SalomeApp_Study.cxx +++ b/src/SalomeApp/SalomeApp_Study.cxx @@ -595,7 +595,7 @@ void SalomeApp_Study::children( const QString& entry, QStringList& child_entries while( anIter->More() ) { _PTR(SObject) val( anIter->Value() ); - child_entries.append( val->GetID() ); + child_entries.append( val->GetID().c_str() ); anIter->Next(); } } @@ -607,6 +607,6 @@ void SalomeApp_Study::components( QStringList& comps ) const _PTR(SComponent) aComponent ( it->Value() ); if( aComponent && aComponent->ComponentDataType() == "Interface Applicative" ) continue; // skip the magic "Interface Applicative" component - comps.append( aComponent->ComponentDataType() ); + comps.append( aComponent->ComponentDataType().c_str() ); } }