IUndoCommand: Make use of explicit on constructors
This commit is contained in:
parent
71002f4188
commit
e1b2d15833
|
@ -6,10 +6,10 @@
|
||||||
class IUndoCommand : public QUndoCommand
|
class IUndoCommand : public QUndoCommand
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
IUndoCommand(QUndoCommand *pParent = 0)
|
explicit IUndoCommand(QUndoCommand *pParent = nullptr)
|
||||||
: QUndoCommand(pParent) {}
|
: QUndoCommand(pParent) {}
|
||||||
|
|
||||||
IUndoCommand(const QString& rkText, QUndoCommand *pParent = 0)
|
explicit IUndoCommand(const QString& rkText, QUndoCommand *pParent = nullptr)
|
||||||
: QUndoCommand(rkText, pParent) {}
|
: QUndoCommand(rkText, pParent) {}
|
||||||
|
|
||||||
virtual bool AffectsCleanState() const = 0;
|
virtual bool AffectsCleanState() const = 0;
|
||||||
|
|
Loading…
Reference in New Issue