Salome HOME
[bos #29098] Remove useless code staying after previous fix. V9_10_0b1
authorjfa <jfa@opencascade.com>
Fri, 18 Nov 2022 10:19:37 +0000 (13:19 +0300)
committerjfa <jfa@opencascade.com>
Fri, 18 Nov 2022 10:19:37 +0000 (13:19 +0300)
src/SHAPERGUI/SHAPERGUI.cpp
src/SHAPERGUI/SHAPERGUI.h

index acc61de03c35b39f698511d773e05ffaa546847a..90261d4c932944d50c8d94a939bc7e283c562432 100644 (file)
@@ -330,8 +330,6 @@ bool SHAPERGUI::activateModule(SUIT_Study* theStudy)
     else
       myWorkshop->updateCommandStatus();
   }
-  SUIT_ResourceMgr* aResMgr = application()->resourceMgr();
-  myIsStorePositions = aResMgr->booleanValue("Study", "store_positions", true);
   myIsEditEnabled = getApp()->isEditEnabled();
   getApp()->setEditEnabled(false);
 
@@ -463,8 +461,6 @@ bool SHAPERGUI::deactivateModule(SUIT_Study* theStudy)
 
   //myWorkshop->contextMenuMgr()->disconnectViewer();
 
-  SUIT_ResourceMgr* aResMgr = application()->resourceMgr();
-  aResMgr->setValue("Study", "store_positions", myIsStorePositions);
   getApp()->setEditEnabled(myIsEditEnabled);
 
   myOldSelectionColor.clear();
index 1135d894ec837495ae1a9893adf4c1e872b77ba8..964d4bfe010c65b67abe9775b9567aa32208fec9 100644 (file)
@@ -276,11 +276,7 @@ private slots:
   /// Flag of opened document state
   bool myIsOpened;
 
-  // the next parameters should be restored after this module deactivation
-
-  /// The application value of the preferences parameter
-  bool myIsStorePositions;
-
+  // the next parameter should be restored after this module deactivation
   /// The application value
   bool myIsEditEnabled;