[TD]CI clang warnings

This commit is contained in:
wandererfan
2022-08-23 15:32:13 -04:00
committed by WandererFan
parent c075a298ae
commit aa2b1b8392
246 changed files with 3944 additions and 4241 deletions

View File

@@ -47,7 +47,7 @@ DrawViewCollection::DrawViewCollection()
{
nowUnsetting = false;
static const char *group = "Collection";
ADD_PROPERTY_TYPE(Views ,(nullptr), group, App::Prop_None,"Collection Views");
ADD_PROPERTY_TYPE(Views ,(nullptr), group, App::Prop_None, "Collection Views");
Views.setScope(App::LinkScope::Global);
}
@@ -196,7 +196,7 @@ QRectF DrawViewCollection::getRect() const
throw Base::ValueError("DrawViewCollection::getRect bad View\n");
}
result = result.united(view->getRect().translated(view->X.getValue(),view->Y.getValue()));
result = result.united(view->getRect().translated(view->X.getValue(), view->Y.getValue()));
}
return QRectF(0,0,getScale() * result.width(),getScale() * result.height());
return { 0, 0, getScale() * result.width(), getScale() * result.height()};
}