]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Remove obsolete code
authorvsr <vsr@opencascade.com>
Thu, 23 Jun 2005 12:28:42 +0000 (12:28 +0000)
committervsr <vsr@opencascade.com>
Thu, 23 Jun 2005 12:28:42 +0000 (12:28 +0000)
src/SalomeApp/SalomeApp_OBSelector.cxx
src/SalomeApp/SalomeApp_OBSelector.h

index e40eecfc8b67be2cc36e0c14a58a2a95d05cfda1..5caa0ade32a932f439b294bf42ed1436ae3e9083 100644 (file)
@@ -13,7 +13,6 @@ SalomeApp_OBSelector::SalomeApp_OBSelector( OB_Browser* ob, SUIT_SelectionMgr* m
 {
   if ( myBrowser ) {
     connect( myBrowser, SIGNAL( selectionChanged() ), this, SLOT( onSelectionChanged() ) );
-    connect( myBrowser, SIGNAL( destroyed() ), this, SLOT( onBrowserDestroyed() ) ); 
   }    
 }
 
@@ -70,11 +69,6 @@ void SalomeApp_OBSelector::onSelectionChanged()
   selectionChanged();
 }
 
-void SalomeApp_OBSelector::onBrowserDestroyed()
-{
-  delete this;
-}
-
 void SalomeApp_OBSelector::fillEntries( QMap<QString, SalomeApp_DataObject*>& entires )
 {
   entires.clear();
index 9a3d5a8480d3a7596acd259dd91dad15efd2e1a3..3120d05f7e2f30c7976c61008dc1f8bc14ad2b89 100644 (file)
@@ -18,13 +18,10 @@ public:
 
   OB_Browser*  browser() const;
 
-  void setBrowser(OB_Browser* theBrowser);
-  
   virtual QString type() const { return "ObjectBrowser"; }
 
 private slots:
   void         onSelectionChanged();
-  void         onBrowserDestroyed();
 
 protected:
   virtual void getSelection( SUIT_DataOwnerPtrList& ) const;