summaryrefslogtreecommitdiffstats
path: root/examples/tools/undoframework/diagramitem.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/tools/undoframework/diagramitem.h')
-rw-r--r--examples/tools/undoframework/diagramitem.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/tools/undoframework/diagramitem.h b/examples/tools/undoframework/diagramitem.h
index f5a7eb4b62..849ef2132b 100644
--- a/examples/tools/undoframework/diagramitem.h
+++ b/examples/tools/undoframework/diagramitem.h
@@ -56,8 +56,7 @@ public:
enum { Type = UserType + 1 };
enum DiagramType { Box, Triangle };
- DiagramItem(DiagramType diagramType, QGraphicsItem *item = 0,
- QGraphicsScene *scene = 0);
+ DiagramItem(DiagramType diagramType, QGraphicsItem *item = 0);
DiagramType diagramType() const {
return polygon() == boxPolygon ? Box : Triangle;