]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Qt4 porting.
authormkr <mkr@opencascade.com>
Thu, 20 Mar 2008 07:38:26 +0000 (07:38 +0000)
committermkr <mkr@opencascade.com>
Thu, 20 Mar 2008 07:38:26 +0000 (07:38 +0000)
src/SMESHGUI/SMESHGUI_Hypotheses.cxx

index a790cf126a6f44922141983d7b10cfa8039ecf00..7d2d2561cfce00fa740955b271507363962ddd1f 100644 (file)
@@ -469,7 +469,7 @@ void SMESHGUI_HypothesisDlg::setCustomFrame( QFrame* f )
   if( f )
   {
     f->setParent( mainFrame() );
-    qobject_cast<QVBoxLayout*>( layout() )->insertWidget( 1, f, 1 );
+    qobject_cast<QVBoxLayout*>( mainFrame()->layout() )->insertWidget( 1, f, 1 );
   }
 }