From: mkr Date: Thu, 20 Mar 2008 07:38:26 +0000 (+0000) Subject: Qt4 porting. X-Git-Tag: VSR_280308~20 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c26c23b4bb4e8242c7f621e31a7358865a662c71;p=modules%2Fsmesh.git Qt4 porting. --- 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 ); } }