mySimulationList.clear();
for ( int i = 0; i < theMeshPreviewStruct.count(); i++ ) {
mySimulationList << new SMESHGUI_MeshEditPreview( SMESH::GetViewWindow( mySMESHGUI ) );
- mySimulationList[i]->SetData( theMeshPreviewStruct[i].operator->() );
+ mySimulationList[i]->SetData( theMeshPreviewStruct[i].in() );
}
}