diff --git a/src/app/app.pro b/src/app/app.pro index 40ba0d1a0..02d64b309 100644 --- a/src/app/app.pro +++ b/src/app/app.pro @@ -142,7 +142,6 @@ CONFIG(debug, debug|release){ -Wlong-long \ -Wmissing-format-attribute \ -Wswitch-default \ - -Wswitch-enum \ -Wuninitialized \ -Wvariadic-macros \ -Wlogical-op \ diff --git a/src/app/tools/vtooldetail.cpp b/src/app/tools/vtooldetail.cpp index 733db56e3..2f6efad77 100644 --- a/src/app/tools/vtooldetail.cpp +++ b/src/app/tools/vtooldetail.cpp @@ -511,27 +511,6 @@ void VToolDetail::AddNode(VPattern *doc, QDomElement &domElement, const VNodeDet case (Tool::NodeSplinePath): doc->SetAttribute(nod, AttrType, NodeSplinePath); break; - case (Tool::ArrowTool): - case (Tool::SinglePointTool): - case (Tool::EndLineTool): - case (Tool::LineTool): - case (Tool::AlongLineTool): - case (Tool::ShoulderPointTool): - case (Tool::NormalTool): - case (Tool::BisectorTool): - case (Tool::LineIntersectTool): - case (Tool::SplineTool): - case (Tool::CutSplineTool): - case (Tool::CutArcTool): - case (Tool::ArcTool): - case (Tool::SplinePathTool): - case (Tool::CutSplinePathTool): - case (Tool::PointOfContact): - case (Tool::DetailTool): - case (Tool::Height): - case (Tool::Triangle): - case (Tool::PointOfIntersection): - case (Tool::UnionDetails): default: qDebug()<<"May be wrong tool type!!! Ignoring."<SetAttribute(nod, AttrType, QStringLiteral("NodeSplinePath")); break; - case (Tool::ArrowTool): - case (Tool::SinglePointTool): - case (Tool::EndLineTool): - case (Tool::LineTool): - case (Tool::AlongLineTool): - case (Tool::ShoulderPointTool): - case (Tool::NormalTool): - case (Tool::BisectorTool): - case (Tool::LineIntersectTool): - case (Tool::SplineTool): - case (Tool::CutSplineTool): - case (Tool::CutArcTool): - case (Tool::ArcTool): - case (Tool::SplinePathTool): - case (Tool::CutSplinePathTool): - case (Tool::PointOfContact): - case (Tool::DetailTool): - case (Tool::Height): - case (Tool::Triangle): - case (Tool::PointOfIntersection): - case (Tool::UnionDetails): default: qDebug()<<"May be wrong tool type!!! Ignoring."<