From 2e540667d898905b64fd791a81a37cd6e34bc85f Mon Sep 17 00:00:00 2001 From: mkr Date: Mon, 17 Mar 2008 15:25:11 +0000 Subject: [PATCH] Qt4 porting: 1) SIGSEGV on activating Move Node, Mesh to pass through a point, Union of triangles, Smoothing, Extrusion, Extrusion along a path, Revolution dialogs. 2) correct layout in the Extrusion dialog. --- src/SMESHGUI/SMESHGUI_ExtrusionDlg.cxx | 2 +- src/SMESHGUI/SMESHGUI_SpinBox.cxx | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/SMESHGUI/SMESHGUI_ExtrusionDlg.cxx b/src/SMESHGUI/SMESHGUI_ExtrusionDlg.cxx index 56ccf92d8..e1fe9721e 100644 --- a/src/SMESHGUI/SMESHGUI_ExtrusionDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_ExtrusionDlg.cxx @@ -182,7 +182,7 @@ SMESHGUI_ExtrusionDlg::SMESHGUI_ExtrusionDlg (SMESHGUI* theModule) GroupArgumentsLayout->addWidget(TextLabelElements, 0, 0); GroupArgumentsLayout->addWidget(SelectElementsButton, 0, 1); GroupArgumentsLayout->addWidget(LineEditElements, 0, 2, 1, 6); - GroupArgumentsLayout->addWidget(CheckBoxMesh, 0, 0, 1, 8); + GroupArgumentsLayout->addWidget(CheckBoxMesh, 1, 0, 1, 8); GroupArgumentsLayout->addWidget(TextLabelVector, 2, 0); GroupArgumentsLayout->addWidget(TextLabelDx, 2, 2); GroupArgumentsLayout->addWidget(SpinBox_Dx, 2, 3); diff --git a/src/SMESHGUI/SMESHGUI_SpinBox.cxx b/src/SMESHGUI/SMESHGUI_SpinBox.cxx index ae80c505a..d405feb99 100644 --- a/src/SMESHGUI/SMESHGUI_SpinBox.cxx +++ b/src/SMESHGUI/SMESHGUI_SpinBox.cxx @@ -115,5 +115,4 @@ void SMESHGUI_SpinBox::RangeStepAndValidator( double min, // see QtxDoubleSpinBox::mapValueToText( double v ) setRange( min, max ); setSingleStep( step ); - validator()->setRange( min, max, decimals ); } -- 2.39.2