Clazy warning.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2019-02-11 10:46:37 +02:00
parent f6c05ca11e
commit 03e9c3068a
2 changed files with 2 additions and 2 deletions

View File

@ -76,7 +76,7 @@ const QString VToolSpline::OldToolType = QStringLiteral("simple");
* @param initData init data. * @param initData init data.
* @param parent parent object. * @param parent parent object.
*/ */
VToolSpline::VToolSpline(VToolSplineInitData initData, QGraphicsItem *parent) VToolSpline::VToolSpline(const VToolSplineInitData &initData, QGraphicsItem *parent)
: VAbstractSpline(initData.doc, initData.data, initData.id, parent), : VAbstractSpline(initData.doc, initData.data, initData.id, parent),
oldPosition(), oldPosition(),
moved(false), moved(false),

View File

@ -117,7 +117,7 @@ private:
QSharedPointer<VSpline> oldMoveSpline; QSharedPointer<VSpline> oldMoveSpline;
QSharedPointer<VSpline> newMoveSpline; QSharedPointer<VSpline> newMoveSpline;
VToolSpline (VToolSplineInitData initData, QGraphicsItem *parent = nullptr ); VToolSpline (const VToolSplineInitData &initData, QGraphicsItem *parent = nullptr );
bool IsMovable() const; bool IsMovable() const;
void SetSplineAttributes(QDomElement &domElement, const VSpline &spl); void SetSplineAttributes(QDomElement &domElement, const VSpline &spl);