summaryrefslogtreecommitdiffstats
path: root/examples/graphicsview/diagramscene/diagramtextitem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/graphicsview/diagramscene/diagramtextitem.cpp')
-rw-r--r--examples/graphicsview/diagramscene/diagramtextitem.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/graphicsview/diagramscene/diagramtextitem.cpp b/examples/graphicsview/diagramscene/diagramtextitem.cpp
index 3b6aad2d31..1e583045da 100644
--- a/examples/graphicsview/diagramscene/diagramtextitem.cpp
+++ b/examples/graphicsview/diagramscene/diagramtextitem.cpp
@@ -44,8 +44,8 @@
#include "diagramscene.h"
//! [0]
-DiagramTextItem::DiagramTextItem(QGraphicsItem *parent, QGraphicsScene *scene)
- : QGraphicsTextItem(parent, scene)
+DiagramTextItem::DiagramTextItem(QGraphicsItem *parent)
+ : QGraphicsTextItem(parent)
{
setFlag(QGraphicsItem::ItemIsMovable);
setFlag(QGraphicsItem::ItemIsSelectable);