diff options
author | Alexis Menard <alexis.menard@nokia.com> | 2009-05-29 13:15:58 (GMT) |
---|---|---|
committer | Alexis Menard <alexis.menard@nokia.com> | 2009-05-29 13:15:58 (GMT) |
commit | 32155ed07a6f8b8c831db6ba219395b4825fa9fd (patch) | |
tree | 69204a833cdf03f59805acc0447f8b03ef747646 /src/gui | |
parent | 9281f4c219cec2e6a1e24b43e1edd0feb0fcfce5 (diff) | |
download | Qt-32155ed07a6f8b8c831db6ba219395b4825fa9fd.zip Qt-32155ed07a6f8b8c831db6ba219395b4825fa9fd.tar.gz Qt-32155ed07a6f8b8c831db6ba219395b4825fa9fd.tar.bz2 |
Fix a wrong parenting.
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/graphicsview/qgraphicssceneindex.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/graphicsview/qgraphicssceneindex.cpp b/src/gui/graphicsview/qgraphicssceneindex.cpp index 870a62a..36da295 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) { } |