diff options
author | Stephen Kelly <stephen.kelly@kdab.com> | 2011-12-03 22:50:18 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-12-04 20:45:49 +0100 |
commit | 7d2ab7f01d98edbb9402478fb6d68fab044bfa38 (patch) | |
tree | a52b661360502852983107a429bc4477a4adc6e3 /src/widgets/graphicsview/qgraphicsscene.h | |
parent | 298f8b67ab1a5aba39eb51a0a9cdbb15a3768372 (diff) |
Move the metatype declaration for QGraphicsScene.
From where it is forward declared to where it is fully defined.
Change-Id: Ie2240ffef6d1edbbbd5b193f9528ef94ef412d82
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
Diffstat (limited to 'src/widgets/graphicsview/qgraphicsscene.h')
-rw-r--r-- | src/widgets/graphicsview/qgraphicsscene.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/widgets/graphicsview/qgraphicsscene.h b/src/widgets/graphicsview/qgraphicsscene.h index 7895584827..1b475e4d02 100644 --- a/src/widgets/graphicsview/qgraphicsscene.h +++ b/src/widgets/graphicsview/qgraphicsscene.h @@ -324,6 +324,8 @@ Q_DECLARE_OPERATORS_FOR_FLAGS(QGraphicsScene::SceneLayers) QT_END_NAMESPACE +Q_DECLARE_METATYPE(QGraphicsScene *) + QT_END_HEADER #endif |