]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Memory leak detected
authorvsv <vitaly.smetannikov@opencascade.com>
Tue, 8 Sep 2015 15:39:44 +0000 (18:39 +0300)
committervsv <vitaly.smetannikov@opencascade.com>
Tue, 8 Sep 2015 15:39:55 +0000 (18:39 +0300)
src/ModuleBase/ModuleBase_ToolBox.cpp

index 88bb944d8e9138de571afebf79c195e9f01a86d0..7f8736a250fb110f49948a9eecadd6d8778a42e5 100644 (file)
@@ -23,7 +23,7 @@ ModuleBase_ToolBox::ModuleBase_ToolBox( QWidget* theParent )
   aMainLayout->addWidget( myButtonsFrame, 0 );
   aMainLayout->addWidget( myStack, 1 );
 
-  myButtonsGroup = new QButtonGroup();
+  myButtonsGroup = new QButtonGroup(this);
   myButtonsGroup->setExclusive( true );
   myButtonsLayout = new QHBoxLayout( myButtonsFrame );
   myButtonsLayout->setMargin( 0 );