From 0a7c7e6b7bb08633ab17df5b328500e437526980 Mon Sep 17 00:00:00 2001 From: eap Date: Mon, 29 Nov 2010 10:13:58 +0000 Subject: [PATCH] - //delete myDlg; + //delete myDlg; since WA_DeleteOnClose==true --- src/SMESHGUI/SMESHGUI_Hypotheses.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); } -- 2.39.2