Fix pb., appeared after wrong integration of 1.5 version: criteria are not saved

This commit is contained in:
jfa 2005-10-04 07:29:19 +00:00
parent 56e741c0f7
commit 694e1d2360

View File

@ -95,7 +95,7 @@ bool SMESHGUI_FilterLibraryDlg::Dialog::acceptData()
// Purpose : Constructor
//=======================================================================
SMESHGUI_FilterLibraryDlg::SMESHGUI_FilterLibraryDlg (SMESHGUI* theModule,
QWidget* parent,
QWidget* parent,
const QValueList<int>& 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);