Fix several clazy issues:

* Q_PROPERTY should have either NOTIFY or CONSTANT [-Wclazy-qproperty-without-notify]
* Use Q_ENUM instead of Q_ENUMS [-Wclazy-qenums]
* Add missing a Q_OBJECT macro [-Wclazy-missing-qobject-macro]
* Signal/Slot arguments need to be fully-qualified [-Wclazy-fully-qualified-moc-types]
This commit is contained in:
wmayer
2022-07-24 19:03:30 +02:00
parent a5b50fd114
commit 3fddaf4a2f
23 changed files with 213 additions and 185 deletions

View File

@@ -3283,7 +3283,7 @@ void View3DInventorViewer::drawAxisCross(void)
// Find unit vector end points.
SbMatrix px;
glGetFloatv(GL_PROJECTION_MATRIX, (float*)px);
SbMatrix comb = mx.multRight(px);
SbMatrix comb = mx.multRight(px); // clazy:exclude=rule-of-two-soft
SbVec3f xpos;
comb.multVecMatrix(SbVec3f(1,0,0), xpos);
@@ -3709,3 +3709,4 @@ void View3DInventorViewer::dragLeaveEvent(QDragLeaveEvent *e)
inherited::dragLeaveEvent(e);
}
#include "moc_View3DInventorViewer.cpp"