From ebdf82d9a6a615c9c3300ecbbc2656e2a85c13d6 Mon Sep 17 00:00:00 2001 From: dish Date: Fri, 15 Mar 2024 11:12:58 +0000 Subject: [PATCH] [bos #35154][EDF](2023-T1) Edge thickness. Fix malfunctioning signal. --- src/XGUI/XGUI_EdgeThicknessWidget.h | 4 ++-- src/XGUI/XGUI_Workshop.cpp | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/XGUI/XGUI_EdgeThicknessWidget.h b/src/XGUI/XGUI_EdgeThicknessWidget.h index 8b1822145..c72ae369b 100644 --- a/src/XGUI/XGUI_EdgeThicknessWidget.h +++ b/src/XGUI/XGUI_EdgeThicknessWidget.h @@ -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; diff --git a/src/XGUI/XGUI_Workshop.cpp b/src/XGUI/XGUI_Workshop.cpp index 0e2aaa05e..8094d156a 100644 --- a/src/XGUI/XGUI_Workshop.cpp +++ b/src/XGUI/XGUI_Workshop.cpp @@ -3001,8 +3001,6 @@ void XGUI_Workshop::changeEdgeThickness(const QMap