summaryrefslogtreecommitdiffstats
path: root/examples/tools/undoframework/commands.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/tools/undoframework/commands.h')
-rw-r--r--examples/tools/undoframework/commands.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/tools/undoframework/commands.h b/examples/tools/undoframework/commands.h
index 70667e9f2d..72f61b10a6 100644
--- a/examples/tools/undoframework/commands.h
+++ b/examples/tools/undoframework/commands.h
@@ -70,7 +70,7 @@ private:
class DeleteCommand : public QUndoCommand
{
public:
- DeleteCommand(QGraphicsScene *graphicsScene, QUndoCommand *parent = 0);
+ explicit DeleteCommand(QGraphicsScene *graphicsScene, QUndoCommand *parent = 0);
void undo();
void redo();