Salome HOME
Restore selection in the viewer by multi selector widget activation.
[modules/shaper.git] / src / XGUI / XGUI_Tools.cpp
index 4ffac6dc7ba28294cd40733b3bcc26344f92004d..42ddf7318fdcc02e4f6521763f192386bd5dc4b9 100644 (file)
@@ -75,23 +75,5 @@ std::string featureInfo(FeaturePtr theFeature)
  }*/
 
 
-void checkObjects(const QObjectPtrList& theObjects, bool& hasResult, bool& hasFeature, bool& hasParameter)
-{
-  hasResult = false;
-  hasFeature = false;
-  hasParameter = false;
-  foreach(ObjectPtr aObj, theObjects) {
-    FeaturePtr aFeature = std::dynamic_pointer_cast<ModelAPI_Feature>(aObj);
-    ResultPtr aResult = std::dynamic_pointer_cast<ModelAPI_Result>(aObj);
-    ResultParameterPtr aConstruction = std::dynamic_pointer_cast<ModelAPI_ResultParameter>(aResult);
-
-    hasResult = (aResult.get() != NULL);
-    hasFeature = (aFeature.get() != NULL);
-    hasParameter = (aConstruction.get() != NULL);
-    if (hasFeature && hasResult  && hasParameter)
-      break;
-  }
-}
-
 
 }