diff --git a/src/app/valentina/xml/vpattern.h b/src/app/valentina/xml/vpattern.h index 15b1069e4..8eed5c97b 100644 --- a/src/app/valentina/xml/vpattern.h +++ b/src/app/valentina/xml/vpattern.h @@ -36,8 +36,8 @@ class VMainGraphicsScene; class VNodeDetail; -class VToolSinglePointInitData; -class VToolLinePointInitData; +struct VToolSinglePointInitData; +struct VToolLinePointInitData; /** * @brief The VPattern class working with pattern file. diff --git a/src/libs/vtools/tools/drawTools/toolcurve/vtoolsplinepath.cpp b/src/libs/vtools/tools/drawTools/toolcurve/vtoolsplinepath.cpp index 8cede3b33..49b96058e 100644 --- a/src/libs/vtools/tools/drawTools/toolcurve/vtoolsplinepath.cpp +++ b/src/libs/vtools/tools/drawTools/toolcurve/vtoolsplinepath.cpp @@ -186,7 +186,6 @@ VToolSplinePath* VToolSplinePath::Create(QSharedPointer dialog, VMai * @brief Create help create tool. * @param initData init data. * @param path spline path. - * @param typeCreation way we create this tool. */ VToolSplinePath* VToolSplinePath::Create(VToolSplinePathInitData &initData, VSplinePath *path) { diff --git a/src/libs/vtools/tools/drawTools/vtoolline.cpp b/src/libs/vtools/tools/drawTools/vtoolline.cpp index a2bc22acb..cf65b5615 100644 --- a/src/libs/vtools/tools/drawTools/vtoolline.cpp +++ b/src/libs/vtools/tools/drawTools/vtoolline.cpp @@ -130,15 +130,7 @@ VToolLine *VToolLine::Create(QSharedPointer dialog, VMainGraphicsSce //--------------------------------------------------------------------------------------------------------------------- /** * @brief Create help create tool. - * @param _id tool id, 0 if tool doesn't exist yet. - * @param firstPoint id first line point. - * @param secondPoint id second line point. - * @param typeLine line type. - * @param scene pointer to scene. - * @param doc dom document container. - * @param data container with variables. - * @param parse parser file mode. - * @param typeCreation way we create this tool. + * @param initData init data. */ VToolLine * VToolLine::Create(VToolLineInitData initData) { diff --git a/src/libs/vtools/tools/vabstracttool.h b/src/libs/vtools/tools/vabstracttool.h index 0656d87fe..bf90ee1d6 100644 --- a/src/libs/vtools/tools/vabstracttool.h +++ b/src/libs/vtools/tools/vabstracttool.h @@ -52,6 +52,7 @@ class VAbstractNode; QT_WARNING_PUSH QT_WARNING_DISABLE_GCC("-Weffc++") +QT_WARNING_DISABLE_CLANG("-Wdeprecated") struct VAbstractToolInitData {