From: vsr Date: Thu, 23 Jun 2005 12:28:42 +0000 (+0000) Subject: Remove obsolete code X-Git-Tag: T3_0_0_a4~36 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=4d8c90248b97330c40154a715bdb0437e4771b06;p=modules%2Fgui.git Remove obsolete code --- diff --git a/src/SalomeApp/SalomeApp_OBSelector.cxx b/src/SalomeApp/SalomeApp_OBSelector.cxx index e40eecfc8..5caa0ade3 100644 --- a/src/SalomeApp/SalomeApp_OBSelector.cxx +++ b/src/SalomeApp/SalomeApp_OBSelector.cxx @@ -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& entires ) { entires.clear(); diff --git a/src/SalomeApp/SalomeApp_OBSelector.h b/src/SalomeApp/SalomeApp_OBSelector.h index 9a3d5a848..3120d05f7 100644 --- a/src/SalomeApp/SalomeApp_OBSelector.h +++ b/src/SalomeApp/SalomeApp_OBSelector.h @@ -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;