diff options
Diffstat (limited to 'examples/tools/undoframework/diagramitem.cpp')
-rw-r--r-- | examples/tools/undoframework/diagramitem.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/examples/tools/undoframework/diagramitem.cpp b/examples/tools/undoframework/diagramitem.cpp index 10ade13628..4070dd158d 100644 --- a/examples/tools/undoframework/diagramitem.cpp +++ b/examples/tools/undoframework/diagramitem.cpp @@ -42,9 +42,8 @@ #include "diagramitem.h" -DiagramItem::DiagramItem(DiagramType diagramType, QGraphicsItem *item, - QGraphicsScene *scene) - : QGraphicsPolygonItem(item, scene) +DiagramItem::DiagramItem(DiagramType diagramType, QGraphicsItem *item) + : QGraphicsPolygonItem(item) { if (diagramType == Box) { boxPolygon << QPointF(0, 0) << QPointF(0, 30) << QPointF(30, 30) |