diff --git a/src/libs/vtools/dialogs/tools/dialogrotation.cpp b/src/libs/vtools/dialogs/tools/dialogrotation.cpp index 1539fcadb..8af42964d 100644 --- a/src/libs/vtools/dialogs/tools/dialogrotation.cpp +++ b/src/libs/vtools/dialogs/tools/dialogrotation.cpp @@ -231,6 +231,7 @@ void DialogRotation::ChosenObject(quint32 id, const SceneObject &type) //--------------------------------------------------------------------------------------------------------------------- void DialogRotation::SelectedObject(bool selected, quint32 object, quint32 tool) { + Q_UNUSED(tool) if (stage1) { if (selected) diff --git a/src/libs/vtools/tools/drawTools/vdrawtool.cpp b/src/libs/vtools/tools/drawTools/vdrawtool.cpp index 348ece144..81bbfb172 100644 --- a/src/libs/vtools/tools/drawTools/vdrawtool.cpp +++ b/src/libs/vtools/tools/drawTools/vdrawtool.cpp @@ -291,7 +291,6 @@ qreal VDrawTool::CheckFormula(const quint32 &toolId, QString &formula, VContaine { SCASSERT(data != nullptr) qreal result = 0; - Calculator *cal = nullptr; try { QScopedPointer cal(new Calculator()); diff --git a/src/libs/vtools/tools/nodeDetails/vabstractnode.h b/src/libs/vtools/tools/nodeDetails/vabstractnode.h index b12e1aa29..4272514da 100644 --- a/src/libs/vtools/tools/nodeDetails/vabstractnode.h +++ b/src/libs/vtools/tools/nodeDetails/vabstractnode.h @@ -47,9 +47,8 @@ public: virtual ~VAbstractNode() Q_DECL_OVERRIDE {} static const QString AttrIdTool; virtual void ShowVisualization(bool show) Q_DECL_OVERRIDE; - - void incrementReferens(); - void decrementReferens(); + virtual void incrementReferens() Q_DECL_OVERRIDE; + virtual void decrementReferens() Q_DECL_OVERRIDE; ParentType GetParentType() const; void SetParentType(const ParentType &value);