From d938733eaf2c2ce7cb18d1cbb56147185c473530 Mon Sep 17 00:00:00 2001 From: Uwe Date: Sat, 5 Feb 2022 14:45:34 +0100 Subject: [PATCH] [Part] SectionCutting: remove another unused variable strangely MSVC did not report me these, the CI does --- src/Mod/Part/Gui/SectionCutting.cpp | 2 +- src/Mod/Part/Gui/SectionCutting.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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: