From: jfa Date: Tue, 4 Oct 2005 07:29:19 +0000 (+0000) Subject: Fix pb., appeared after wrong integration of 1.5 version: criteria are not saved X-Git-Tag: ForTest_3_1_0a2~30 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=694e1d23607d4a336f049372fbe2a0e327ddabc5;p=modules%2Fsmesh.git Fix pb., appeared after wrong integration of 1.5 version: criteria are not saved --- diff --git a/src/SMESHGUI/SMESHGUI_FilterLibraryDlg.cxx b/src/SMESHGUI/SMESHGUI_FilterLibraryDlg.cxx index 8ea1769f9..a6e560ffa 100644 --- a/src/SMESHGUI/SMESHGUI_FilterLibraryDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_FilterLibraryDlg.cxx @@ -95,7 +95,7 @@ bool SMESHGUI_FilterLibraryDlg::Dialog::acceptData() // Purpose : Constructor //======================================================================= SMESHGUI_FilterLibraryDlg::SMESHGUI_FilterLibraryDlg (SMESHGUI* theModule, - QWidget* parent, + QWidget* parent, const QValueList& theTypes, const int theMode, const char* theName) @@ -111,7 +111,7 @@ SMESHGUI_FilterLibraryDlg::SMESHGUI_FilterLibraryDlg (SMESHGUI* theModule, // Purpose : Constructor //======================================================================= SMESHGUI_FilterLibraryDlg::SMESHGUI_FilterLibraryDlg (SMESHGUI* theModule, - QWidget* parent, + QWidget* parent, const int theType, const int theMode, const char* theName) @@ -848,7 +848,6 @@ void SMESHGUI_FilterLibraryDlg::enableMainButtons() SMESH::Filter_ptr SMESHGUI_FilterLibraryDlg::createFilter(const int theType) { int n = myTable->NumRows(theType); - n = 0; SMESH::Filter::Criteria_var aCriteria = new SMESH::Filter::Criteria; aCriteria->length(n);