Refactoring. Remove unused method.
--HG-- branch : develop
This commit is contained in:
parent
acc340bff1
commit
7734b7a59d
|
@ -140,17 +140,3 @@ void VToolCut::RemoveReferens()
|
||||||
|
|
||||||
doc->DecrementReferens(curve->getIdTool());
|
doc->DecrementReferens(curve->getIdTool());
|
||||||
}
|
}
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
|
||||||
// cppcheck-suppress unusedFunction
|
|
||||||
void VToolCut::FullUpdateCurveFromFile(const QString &attrCurve)
|
|
||||||
{
|
|
||||||
Q_ASSERT_X(not attrCurve.isEmpty(), Q_FUNC_INFO, "attribute name is empty");
|
|
||||||
|
|
||||||
QDomElement domElement = doc->elementById(id);
|
|
||||||
if (domElement.isElement())
|
|
||||||
{
|
|
||||||
formula = domElement.attribute(AttrLength, "");
|
|
||||||
curveCutId = domElement.attribute(attrCurve, "").toUInt();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
|
@ -75,7 +75,6 @@ protected:
|
||||||
|
|
||||||
void RefreshGeometry();
|
void RefreshGeometry();
|
||||||
virtual void RemoveReferens() Q_DECL_OVERRIDE;
|
virtual void RemoveReferens() Q_DECL_OVERRIDE;
|
||||||
void FullUpdateCurveFromFile(const QString &attrCurve);
|
|
||||||
|
|
||||||
template <typename T>
|
template <typename T>
|
||||||
void ShowToolVisualization(bool show);
|
void ShowToolVisualization(bool show);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user