[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

@@ -79,7 +79,7 @@ void QGIHighlight::draw()
void QGIHighlight::makeHighlight()
{
QRectF r(m_start,m_end);
QRectF r(m_start, m_end);
m_circle->setRect(r);
m_rect->setRect(r);
if (getHoleStyle() == 0) {
@@ -99,10 +99,10 @@ void QGIHighlight::makeReference()
m_reference->setPlainText(m_refText);
double fudge = Rez::guiX(1.0);
QPointF newPos(m_end.x() + fudge, m_start.y() - m_refSize - fudge);
m_reference->setPos(newPos);
m_reference->setPos(newPos);
double highRot = rotation();
if (!TechDraw::DrawUtil::fpCompare(highRot,0.0)) {
if (!TechDraw::DrawUtil::fpCompare(highRot, 0.0)) {
QRectF refBR = m_reference->boundingRect();
QPointF refCenter = refBR.center();
m_reference->setTransformOriginPoint(refCenter);
@@ -119,10 +119,10 @@ void QGIHighlight::setInteractive(bool state)
setFlag(QGraphicsItem::ItemSendsGeometryChanges, state);
}
void QGIHighlight::setBounds(double x1,double y1,double x2,double y2)
void QGIHighlight::setBounds(double x1, double y1, double x2, double y2)
{
m_start = QPointF(Rez::guiX(x1),Rez::guiX(-y1));
m_end = QPointF(Rez::guiX(x2),Rez::guiX(-y2));
m_start = QPointF(Rez::guiX(x1), Rez::guiX(-y1));
m_end = QPointF(Rez::guiX(x2), Rez::guiX(-y2));
}
void QGIHighlight::setReference(const char* ref)