]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
debug IPAL9411: remove the slot SalomeApp_Study::updateModelRoot to reduce the number of
authormsv <msv@opencascade.com>
Wed, 13 Jul 2005 06:41:44 +0000 (06:41 +0000)
committermsv <msv@opencascade.com>
Wed, 13 Jul 2005 06:41:44 +0000 (06:41 +0000)
unneeded updates of object browser

src/SalomeApp/SalomeApp_Study.cxx
src/SalomeApp/SalomeApp_Study.h

index 8b6f9019350346dbe664bd054a0abb256f9a80a3..2a4bb8c86dc5192d1e617c610e0cdca79fd9a83f 100644 (file)
@@ -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<std::string> studies = SalomeApp_Application::studyMgr()->GetOpenStudies();
index 0d5c3cd798b63a53fcc8f1395db22d081662b8cf..5ac882766d97bc95fddf7347acfaa9168e02858f 100644 (file)
@@ -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;