diff --git a/src/Mod/Part/Gui/SectionCutting.cpp b/src/Mod/Part/Gui/SectionCutting.cpp index 63da3803e9..798d982b35 100644 --- a/src/Mod/Part/Gui/SectionCutting.cpp +++ b/src/Mod/Part/Gui/SectionCutting.cpp @@ -107,7 +107,7 @@ SectionCut::SectionCut(QWidget* parent) ObjectsListVisible.push_back(*it); } - // lambda function to set color and transparency + // lambda function to set color and transparency auto setColorTransparency = [&](Part::Box* pcBox) { App::Color cutColor; long cutTransparency; @@ -531,7 +531,7 @@ void SectionCut::startCutting(bool isInitial) // hide the objects since only the cut should later be visible (*itCuts)->Visibility.setValue(false); - // check if all objects have same color and transparency + // check if all objects have same color and transparency if (ui->AutoCutfaceColor->isChecked()) { auto vpObject = dynamic_cast( Gui::Application::Instance->getViewProvider(*itCuts)); diff --git a/src/Mod/Part/Gui/SectionCutting.h b/src/Mod/Part/Gui/SectionCutting.h index e121a818ea..ff2a65ca97 100644 --- a/src/Mod/Part/Gui/SectionCutting.h +++ b/src/Mod/Part/Gui/SectionCutting.h @@ -24,7 +24,7 @@ #define PARTGUI_SECTIONCUTTING_H #include -#include + namespace PartGui {