diff --git a/Apps/Decimating/DecimaterViewerWidget.hh b/Apps/Decimating/DecimaterViewerWidget.hh index f18c5a0c..864f284b 100644 --- a/Apps/Decimating/DecimaterViewerWidget.hh +++ b/Apps/Decimating/DecimaterViewerWidget.hh @@ -101,7 +101,7 @@ public: typedef std::auto_ptr< mod_nf_t > mod_nf_o; /// default constructor - DecimaterViewerWidget(QWidget* _parent=0, const char* _name=0) + DecimaterViewerWidget(QWidget* _parent=0) : MeshViewerWidget(_parent), steps_(1) { timer_ = new QTimer(this); diff --git a/Apps/Decimating/decimaterviewer.cc b/Apps/Decimating/decimaterviewer.cc index a1939f97..b1d7eb29 100644 --- a/Apps/Decimating/decimaterviewer.cc +++ b/Apps/Decimating/decimaterviewer.cc @@ -82,7 +82,7 @@ int main(int argc, char **argv) } } // create widget - DecimaterViewerWidget w(0, "Viewer"); + DecimaterViewerWidget w(0); // app.setMainWidget(&w); w.resize(400, 400);