summaryrefslogtreecommitdiffstats
path: root/src/gui/graphicsview/qgraphicssceneindex.cpp
diff options
context:
space:
mode:
authorAlexis Menard <alexis.menard@nokia.com>2009-05-29 15:15:58 +0200
committerAlexis Menard <alexis.menard@nokia.com>2009-05-29 15:15:58 +0200
commit32155ed07a6f8b8c831db6ba219395b4825fa9fd (patch)
tree69204a833cdf03f59805acc0447f8b03ef747646 /src/gui/graphicsview/qgraphicssceneindex.cpp
parent9281f4c219cec2e6a1e24b43e1edd0feb0fcfce5 (diff)
Fix a wrong parenting.
Diffstat (limited to 'src/gui/graphicsview/qgraphicssceneindex.cpp')
-rw-r--r--src/gui/graphicsview/qgraphicssceneindex.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/graphicsview/qgraphicssceneindex.cpp b/src/gui/graphicsview/qgraphicssceneindex.cpp
index 870a62ab59..36da295f77 100644
--- a/src/gui/graphicsview/qgraphicssceneindex.cpp
+++ b/src/gui/graphicsview/qgraphicssceneindex.cpp
@@ -277,7 +277,7 @@ void QGraphicsSceneIndexPrivate::childItems_helper(QList<QGraphicsItem *> *items
Constructs an abstract scene index.
*/
QGraphicsSceneIndex::QGraphicsSceneIndex(QGraphicsScene *scene)
-: QObject(*new QGraphicsSceneIndexPrivate(scene))
+: QObject(*new QGraphicsSceneIndexPrivate(scene), scene)
{
}