Part: Fix several clazy issues:
* Maybe you meant to call Primitive::onChanged() instead [-Wclazy-skipped-base-method] * Maybe you meant to call Primitive::mustExecute() instead [-Wclazy-skipped-base-method] * Missing reference in range-for with non trivial type [-Wclazy-range-loop-reference] * Use multi-arg instead [-Wclazy-qstring-arg] * Use midRef() instead [-Wclazy-qstring-ref]
This commit is contained in:
@@ -255,7 +255,7 @@ void ShapeBuilderWidget::createEdgeFromVertex()
|
||||
"if _.isNull(): raise RuntimeError('Failed to create edge')\n"
|
||||
"App.ActiveDocument.addObject('Part::Feature','Edge').Shape=_\n"
|
||||
"del _\n"
|
||||
).arg(elements[0]).arg(elements[1]);
|
||||
).arg(elements[0], elements[1]);
|
||||
|
||||
try {
|
||||
Gui::Application::Instance->activeDocument()->openCommand(QT_TRANSLATE_NOOP("Command", "Edge"));
|
||||
|
||||
Reference in New Issue
Block a user