Salome HOME
Bug IPAL19361 - Qt4 porting. It is impossible showing ID of elements in 3D Viewer...
[modules/smesh.git] / src / SMESHGUI / SMESHGUI_Selection.cxx
index 9a7fe52c252451e76f2f5edfb638343f62906d03..af48b3008e2d087d65f155771ef455b55775acf7 100644 (file)
 //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<SalomeApp_Study*>(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  :