diff --git a/src/common/filter_parameter/TODO.txt b/src/common/filter_parameter/TODO.txt deleted file mode 100644 index fb4c28738..000000000 --- a/src/common/filter_parameter/TODO.txt +++ /dev/null @@ -1,7 +0,0 @@ -Flying pointers to remove: - meshlab/mainwindow_init.cpp - meshlab/customDialog.cpp - meshlab/filterScriptDialog.cpp - meshlabserver/mainserver.cpp - - diff --git a/src/common/filter_parameter/rich_parameter_list.h b/src/common/filter_parameter/rich_parameter_list.h index 56d29e8cb..58f8b291b 100644 --- a/src/common/filter_parameter/rich_parameter_list.h +++ b/src/common/filter_parameter/rich_parameter_list.h @@ -129,7 +129,6 @@ public: RichParameter& addParam(const RichParameter& pd); void join(const RichParameterList& rps); - void pushFromQDomElement(QDomElement np); void swap(RichParameterList& oth); diff --git a/src/common/filter_parameter/value.cpp b/src/common/filter_parameter/value.cpp index 5e15a8a8f..8f463c714 100644 --- a/src/common/filter_parameter/value.cpp +++ b/src/common/filter_parameter/value.cpp @@ -70,8 +70,3 @@ void MeshValue::fillToXMLElement(QDomElement&) const //could be a good idea. } - - - - - diff --git a/src/common/filterscript.cpp b/src/common/filterscript.cpp index fef5021f1..8dc31306a 100644 --- a/src/common/filterscript.cpp +++ b/src/common/filterscript.cpp @@ -115,9 +115,6 @@ bool FilterScript::open(QString filename) qDebug("Reading filter with name %s", qUtf8Printable(name)); for(QDomElement np = nf.firstChildElement("Param"); !np.isNull(); np = np.nextSiblingElement("Param")) { - RichParameter* rp = NULL; - RichParameterAdapter::create(np,&rp); - //FilterParameter::addQDomElement(par,np); par.pushFromQDomElement(np); } FilterNameParameterValuesPair* tmp = new FilterNameParameterValuesPair();