From c26c23b4bb4e8242c7f621e31a7358865a662c71 Mon Sep 17 00:00:00 2001 From: mkr Date: Thu, 20 Mar 2008 07:38:26 +0000 Subject: [PATCH] Qt4 porting. --- 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 a790cf126..7d2d2561c 100644 --- a/src/SMESHGUI/SMESHGUI_Hypotheses.cxx +++ b/src/SMESHGUI/SMESHGUI_Hypotheses.cxx @@ -469,7 +469,7 @@ void SMESHGUI_HypothesisDlg::setCustomFrame( QFrame* f ) if( f ) { f->setParent( mainFrame() ); - qobject_cast( layout() )->insertWidget( 1, f, 1 ); + qobject_cast( mainFrame()->layout() )->insertWidget( 1, f, 1 ); } } -- 2.39.2