summaryrefslogtreecommitdiff
path: root/src/gui/graphicsview/qgraphicssceneindex.cpp
diff options
context:
space:
mode:
authorAlexis Menard <alexis.menard@trolltech.com>2009-04-07 20:02:09 +0200
committerAlexis Menard <alexis.menard@trolltech.com>2009-04-07 20:02:09 +0200
commita7f4886b896751ed52db474514a2c4244ed6fc14 (patch)
treee393ef9fc621e65134cf82c0c39b299c66f913e6 /src/gui/graphicsview/qgraphicssceneindex.cpp
parent030554d7527663bd389b681f2e2c7e8262517013 (diff)
downloadqt4-tools-a7f4886b896751ed52db474514a2c4244ed6fc14.tar.gz
Fixes: Some modifications after a talk with Ariya
Diffstat (limited to 'src/gui/graphicsview/qgraphicssceneindex.cpp')
-rw-r--r--src/gui/graphicsview/qgraphicssceneindex.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/graphicsview/qgraphicssceneindex.cpp b/src/gui/graphicsview/qgraphicssceneindex.cpp
index 00c63a31db..78683880d8 100644
--- a/src/gui/graphicsview/qgraphicssceneindex.cpp
+++ b/src/gui/graphicsview/qgraphicssceneindex.cpp
@@ -40,6 +40,7 @@
****************************************************************************/
#include "qgraphicssceneindex.h"
+#include "qgraphicsscene.h"
#ifndef QT_NO_GRAPHICSVIEW
@@ -54,6 +55,11 @@ QGraphicsSceneIndex::~QGraphicsSceneIndex()
}
+QGraphicsScene* QGraphicsSceneIndex::scene()
+{
+ return mscene;
+}
+
QT_END_NAMESPACE
//#include "moc_qgraphicssceneindex.cpp"