X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSMESHGUI%2FSMESHGUI_Selection.cxx;h=af48b3008e2d087d65f155771ef455b55775acf7;hb=4352a0e199950550277750e0a04845bf0d2740fb;hp=9a7fe52c252451e76f2f5edfb638343f62906d03;hpb=f212bd3496252b19e13b1d30fb6d995e03bfb9a4;p=modules%2Fsmesh.git diff --git a/src/SMESHGUI/SMESHGUI_Selection.cxx b/src/SMESHGUI/SMESHGUI_Selection.cxx index 9a7fe52c2..af48b3008 100644 --- a/src/SMESHGUI/SMESHGUI_Selection.cxx +++ b/src/SMESHGUI/SMESHGUI_Selection.cxx @@ -48,9 +48,27 @@ //function : SMESHGUI_Selection //purpose : //======================================================================= -SMESHGUI_Selection::SMESHGUI_Selection( const QString& client, LightApp_SelectionMgr* mgr ) -: LightApp_Selection( client, mgr ) +SMESHGUI_Selection::SMESHGUI_Selection() +: LightApp_Selection() { +} + +//======================================================================= +//function : ~SMESHGUI_Selection +//purpose : +//======================================================================= +SMESHGUI_Selection::~SMESHGUI_Selection() +{ +} + +//======================================================================= +//function : init +//purpose : +//======================================================================= +void SMESHGUI_Selection::init( const QString& client, LightApp_SelectionMgr* mgr ) +{ + LightApp_Selection::init( client, mgr ); + if( mgr && study() ) { SalomeApp_Study* aSStudy = dynamic_cast(study()); @@ -63,14 +81,6 @@ SMESHGUI_Selection::SMESHGUI_Selection( const QString& client, LightApp_Selectio } } -//======================================================================= -//function : ~SMESHGUI_Selection -//purpose : -//======================================================================= -SMESHGUI_Selection::~SMESHGUI_Selection() -{ -} - //======================================================================= //function : processOwner //purpose :