X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSMESHGUI%2FSMESHGUI_FilterLibraryDlg.cxx;h=a6e560ffad12ac46a871187c598f5f02c42f63bb;hb=6a1c128a1ee1074cb4af360309c3403471d20b1e;hp=c4ca04c3700328f0dc7709faa31141c1a512fa02;hpb=0d21bf88f5829fb7071a310f81093edab6e531b3;p=modules%2Fsmesh.git diff --git a/src/SMESHGUI/SMESHGUI_FilterLibraryDlg.cxx b/src/SMESHGUI/SMESHGUI_FilterLibraryDlg.cxx index c4ca04c37..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); @@ -1041,7 +1040,7 @@ void SMESHGUI_FilterLibraryDlg::onDeleteBtnPressed() tr("ERROR_OF_DELETING"), QMessageBox::Ok); } else { myCurrFilterName = ""; - myCurrFilterName = -1; + myCurrFilter = -1; myListBox->removeItem(anIndex); if (anIndex >= 1)