From: eap Date: Mon, 29 Nov 2010 10:13:58 +0000 (+0000) Subject: - //delete myDlg; X-Git-Tag: tag_Before_ViscLayers_PrototypeVersion~4 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=0a7c7e6b7bb08633ab17df5b328500e437526980;p=modules%2Fsmesh.git - //delete myDlg; + //delete myDlg; since WA_DeleteOnClose==true --- diff --git a/src/SMESHGUI/SMESHGUI_Hypotheses.cxx b/src/SMESHGUI/SMESHGUI_Hypotheses.cxx index a964d8cfc..e974edc52 100644 --- a/src/SMESHGUI/SMESHGUI_Hypotheses.cxx +++ b/src/SMESHGUI/SMESHGUI_Hypotheses.cxx @@ -309,7 +309,7 @@ void SMESHGUI_GenericHypothesisCreator::onDialogFinished( int result ) disconnect( myDlg, SIGNAL( finished( int ) ), this, SLOT( onDialogFinished( int ) ) ); myDlg->close(); - //delete myDlg; + //delete myDlg; since WA_DeleteOnClose==true myDlg = 0; emit finished( result ); }