summaryrefslogtreecommitdiffstats
path: root/examples/graphicsview/diagramscene/diagramtextitem.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@nokia.com>2012-07-30 23:36:59 +0200
committerQt by Nokia <qt-info@nokia.com>2012-08-03 00:37:59 +0200
commit328550ff008da53d865f3a6f245aa4753d1b3527 (patch)
tree7cbb9295955145311ab6f8c1cd9038c076f7ea5c /examples/graphicsview/diagramscene/diagramtextitem.h
parent8632b262855585c750d43090dc4e1672370cc596 (diff)
Remove the obsolete scene argument for constructors of graphics items
The argument has been obsoleted and not documented since 2007. Get rid of it now before Qt 5.0 Task-number: QTBUG-25089 Change-Id: I91a5508a5e1606f5b5c289501295c67be4abe6a0 Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
Diffstat (limited to 'examples/graphicsview/diagramscene/diagramtextitem.h')
-rw-r--r--examples/graphicsview/diagramscene/diagramtextitem.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/graphicsview/diagramscene/diagramtextitem.h b/examples/graphicsview/diagramscene/diagramtextitem.h
index 5505886e5e..611e9b6700 100644
--- a/examples/graphicsview/diagramscene/diagramtextitem.h
+++ b/examples/graphicsview/diagramscene/diagramtextitem.h
@@ -59,7 +59,7 @@ class DiagramTextItem : public QGraphicsTextItem
public:
enum { Type = UserType + 3 };
- DiagramTextItem(QGraphicsItem *parent = 0, QGraphicsScene *scene = 0);
+ DiagramTextItem(QGraphicsItem *parent = 0);
int type() const
{ return Type; }