diff options
Diffstat (limited to 'examples/tools/undoframework/diagramitem.h')
-rw-r--r-- | examples/tools/undoframework/diagramitem.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/tools/undoframework/diagramitem.h b/examples/tools/undoframework/diagramitem.h index 849ef2132b..91ed55be39 100644 --- a/examples/tools/undoframework/diagramitem.h +++ b/examples/tools/undoframework/diagramitem.h @@ -56,7 +56,7 @@ public: enum { Type = UserType + 1 }; enum DiagramType { Box, Triangle }; - DiagramItem(DiagramType diagramType, QGraphicsItem *item = 0); + explicit DiagramItem(DiagramType diagramType, QGraphicsItem *item = 0); DiagramType diagramType() const { return polygon() == boxPolygon ? Box : Triangle; |