Salome HOME
Issue #725 - Translation with parameters - wrong coordinates
[modules/shaper.git] / src / XGUI / XGUI_Workshop.h
index b41634aab7a05d6875fd78169f70b281bfabe01a..d10d3b729ea6cf7b6cac98f8c3f257d70c351d49 100644 (file)
@@ -218,10 +218,10 @@ Q_OBJECT
   //! \param theAskAboutDeleteReferences if true, the message box with a list of references to the
   //! objects features appear. If the user chose do not continue, the deletion is not performed
   //! \return the success of the delete 
-  static bool deleteFeatures(const QObjectPtrList& theList,
-                             std::set<FeaturePtr> theIgnoredFeatures = std::set<FeaturePtr>(),
-                             QWidget* theParent = 0,
-                             const bool theAskAboutDeleteReferences = false);
+  bool deleteFeatures(const QObjectPtrList& theList,
+                      const std::set<FeaturePtr>& theIgnoredFeatures,
+                      QWidget* theParent = 0,
+                      const bool theAskAboutDeleteReferences = false);
 
   /// Deactivates the object, if it is active and the module returns that the activation
   /// of selection for the object is not possible currently(the current operation uses it)