Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
#19078 [CEA] Mesh Group - Group on filter
[modules/smesh.git]
/
src
/
StdMeshersGUI
/
StdMeshersGUI_QuadrangleParamWdg.cxx
diff --git
a/src/StdMeshersGUI/StdMeshersGUI_QuadrangleParamWdg.cxx
b/src/StdMeshersGUI/StdMeshersGUI_QuadrangleParamWdg.cxx
index aa04fa8c4278f4ec3f6a6ec0f6d30c7123ba5c4e..c6905e049046f568f07a47631a574c999fdc5392 100644
(file)
--- a/
src/StdMeshersGUI/StdMeshersGUI_QuadrangleParamWdg.cxx
+++ b/
src/StdMeshersGUI/StdMeshersGUI_QuadrangleParamWdg.cxx
@@
-288,9
+288,7
@@
QString StdMeshersGUI_QuadrangleParamCreator::storeParams() const
{
QListWidgetItem* item = myShapesList->item(i);
QString entry = item->data( Qt::UserRole ).toString();
{
QListWidgetItem* item = myShapesList->item(i);
QString entry = item->data( Qt::UserRole ).toString();
- Handle(SALOME_InteractiveObject) io =
- new SALOME_InteractiveObject( entry.toStdString().c_str(), "GEOM" );
- GEOM::GEOM_Object_var go = GEOMBase::ConvertIOinGEOMObject( io );
+ GEOM::GEOM_Object_var go = SMESH::EntryToInterface<GEOM::GEOM_Object>( entry );
if ( !go->_is_nil() )
goList[ nbShapes++ ] = go;
}
if ( !go->_is_nil() )
goList[ nbShapes++ ] = go;
}