diff --git a/src/Mod/Part/Gui/SectionCutting.cpp b/src/Mod/Part/Gui/SectionCutting.cpp index 521e063c22..4e6a292ad9 100644 --- a/src/Mod/Part/Gui/SectionCutting.cpp +++ b/src/Mod/Part/Gui/SectionCutting.cpp @@ -72,7 +72,7 @@ enum Refresh : bool ZRange = true }; -SectionCut::SectionCut(Gui::View3DInventor* view, QWidget* parent) +SectionCut::SectionCut(QWidget* parent) : QDialog(parent) , ui(new Ui_SectionCut) { diff --git a/src/Mod/Part/Gui/SectionCutting.h b/src/Mod/Part/Gui/SectionCutting.h index 5969528516..8aa1a09419 100644 --- a/src/Mod/Part/Gui/SectionCutting.h +++ b/src/Mod/Part/Gui/SectionCutting.h @@ -38,7 +38,7 @@ class SectionCut : public QDialog public: static SectionCut* makeDockWidget(Gui::View3DInventor*); - SectionCut(Gui::View3DInventor* view, QWidget* parent = nullptr); + SectionCut(QWidget* parent = nullptr); ~SectionCut(); protected Q_SLOTS: