From: msv Date: Wed, 13 Jul 2005 06:41:44 +0000 (+0000) Subject: debug IPAL9411: remove the slot SalomeApp_Study::updateModelRoot to reduce the number of X-Git-Tag: V3_0_1~57 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=9f64c528f512d2456ce3b41360e02b98375f9e49;p=modules%2Fgui.git debug IPAL9411: remove the slot SalomeApp_Study::updateModelRoot to reduce the number of unneeded updates of object browser --- diff --git a/src/SalomeApp/SalomeApp_Study.cxx b/src/SalomeApp/SalomeApp_Study.cxx index 8b6f90193..2a4bb8c86 100644 --- a/src/SalomeApp/SalomeApp_Study.cxx +++ b/src/SalomeApp/SalomeApp_Study.cxx @@ -279,12 +279,6 @@ bool SalomeApp_Study::openDataModel( const QString& studyName, CAM_DataModel* dm return false; } -void SalomeApp_Study::updateModelRoot( const CAM_DataModel* dm ) -{ - CAM_Study::updateModelRoot( dm ); - ((SalomeApp_Application*)application())->objectBrowser()->updateTree(); -} - QString SalomeApp_Study::newStudyName() const { std::vector studies = SalomeApp_Application::studyMgr()->GetOpenStudies(); diff --git a/src/SalomeApp/SalomeApp_Study.h b/src/SalomeApp/SalomeApp_Study.h index 0d5c3cd79..5ac882766 100644 --- a/src/SalomeApp/SalomeApp_Study.h +++ b/src/SalomeApp/SalomeApp_Study.h @@ -46,10 +46,6 @@ protected: virtual bool openDataModel( const QString&, CAM_DataModel* ); void setStudyDS(const _PTR(Study)& s ); -protected slots: - virtual void updateModelRoot( const CAM_DataModel* ); - // Reimplemented from CAM_Study, additionally updates object browser - private: QString newStudyName() const;