From 4d8c90248b97330c40154a715bdb0437e4771b06 Mon Sep 17 00:00:00 2001 From: vsr Date: Thu, 23 Jun 2005 12:28:42 +0000 Subject: [PATCH] Remove obsolete code --- src/SalomeApp/SalomeApp_OBSelector.cxx | 6 ------ src/SalomeApp/SalomeApp_OBSelector.h | 3 --- 2 files changed, 9 deletions(-) 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; -- 2.39.2