Minore cleaning.
--HG-- branch : develop
This commit is contained in:
parent
45a4a280b0
commit
47d86413d0
|
@ -296,7 +296,7 @@ VSplinePath &VSplinePath::operator =(const VSplinePath &path)
|
|||
{
|
||||
return *this;
|
||||
}
|
||||
VAbstractCurve::operator=(path);
|
||||
VAbstractCubicBezierPath::operator=(path);
|
||||
d = path.d;
|
||||
return *this;
|
||||
}
|
||||
|
|
|
@ -316,8 +316,8 @@ void VToolSplinePath::ShowContextMenu(QGraphicsSceneContextMenuEvent *event, qui
|
|||
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
/**
|
||||
* @brief UpdateControlPoints update position points control points in file.
|
||||
* @param spl spline what was changed.
|
||||
* @brief UpdateControlPoints update position control points in file.
|
||||
* @param spl spline that was changed.
|
||||
* @param splPath spline path.
|
||||
* @param indexSpline index spline in spline path.
|
||||
*/
|
||||
|
|
|
@ -53,10 +53,6 @@ MoveSplinePath::MoveSplinePath(VAbstractPattern *doc, const VSplinePath &oldSplP
|
|||
SCASSERT(scene != nullptr)
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
MoveSplinePath::~MoveSplinePath()
|
||||
{}
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
void MoveSplinePath::undo()
|
||||
{
|
||||
|
|
|
@ -46,7 +46,7 @@ class MoveSplinePath : public VUndoCommand
|
|||
public:
|
||||
MoveSplinePath(VAbstractPattern *doc, const VSplinePath &oldSplPath, const VSplinePath &newSplPath,
|
||||
const quint32 &id, QUndoCommand *parent = nullptr);
|
||||
virtual ~MoveSplinePath() Q_DECL_OVERRIDE;
|
||||
virtual ~MoveSplinePath() =default;
|
||||
virtual void undo() Q_DECL_OVERRIDE;
|
||||
virtual void redo() Q_DECL_OVERRIDE;
|
||||
virtual bool mergeWith(const QUndoCommand *command) Q_DECL_OVERRIDE;
|
||||
|
|
Loading…
Reference in New Issue
Block a user