]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
[bos #35154][EDF](2023-T1) Edge thickness.
authordish <dmitrii.shvydkoi@opencascade.com>
Fri, 15 Mar 2024 11:12:58 +0000 (11:12 +0000)
committerdish <dmitrii.shvydkoi@opencascade.com>
Wed, 5 Jun 2024 12:39:33 +0000 (12:39 +0000)
Fix malfunctioning signal.

src/XGUI/XGUI_EdgeThicknessWidget.h
src/XGUI/XGUI_Workshop.cpp

index 8b18221458438658642815daa72e10e1f0da047d..c72ae369b110f0e5aa01aca9fde3c867489acc10 100644 (file)
@@ -38,7 +38,7 @@ public:
   /// \param theParent a parent widget for the dialog
   /// \param theLabelText if not empty, the information label will be shown in the widget
   XGUI_EXPORT XGUI_EdgeThicknessWidget(QWidget* theParent);
-  XGUI_EXPORT  ~XGUI_EdgeThicknessWidget() = default;
+  XGUI_EXPORT ~XGUI_EdgeThicknessWidget() = default;
 
   /// Initializes the dialog with the given value.
   /// \param theValue edge thickness value
@@ -49,7 +49,7 @@ public:
   int getValue() const;
 
 signals:
-  void thicknessValueChanged();
+  void thicknessValueChanged(int);
 
 private:
  SalomeApp_IntSpinBox* mySpinBox;
index 0e2aaa05ef85119d208e8480807a0d7e8f78e7c5..8094d156ac358f545d8b35c080cfde00c1ba8ce2 100644 (file)
@@ -3001,8 +3001,6 @@ void XGUI_Workshop::changeEdgeThickness(const QMap<ResultPtr, QList<GeomShapePtr
 //**************************************************************
 void XGUI_Workshop::onEdgeThicknessValueChanged(int theThickness)
 {
-  // std::cout << "XGUI_Workshop::onEdgeThicknessValueChanged(" << theThickness << ")" << std::endl;
-
   /*
   XGUI_EdgeThicknessWidget* aWidget = (XGUI_EdgeThicknessWidget*)sender();
   if (!aWidget)