mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-07-02 03:13:38 +00:00
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…
x
Reference in New Issue
Block a user