Salome HOME
Crash after pre-viewing mesh translation
[modules/smesh.git] / src / SMESHGUI / SMESHGUI_PreviewDlg.cxx
index f1f1a1f118b7f0b235c97a5057612976e71763fb..99158f80667ceae7e31ecf11ad788679d44ad4c7 100644 (file)
@@ -248,7 +248,7 @@ void SMESHGUI_MultiPreviewDlg::setSimulationPreview( QList<SMESH::MeshPreviewStr
   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() );
   }
 }