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>
This commit is contained in:
Stephen Kelly 2011-12-03 22:50:18 +01:00 committed by Qt by Nokia
parent 298f8b67ab
commit 7d2ab7f01d
2 changed files with 2 additions and 1 deletions

View File

@ -1159,7 +1159,6 @@ Q_WIDGETS_EXPORT QDebug operator<<(QDebug debug, QGraphicsItem::GraphicsItemFlag
QT_END_NAMESPACE
Q_DECLARE_METATYPE(QGraphicsItem *)
Q_DECLARE_METATYPE(QGraphicsScene *)
QT_BEGIN_NAMESPACE

View File

@ -324,6 +324,8 @@ Q_DECLARE_OPERATORS_FOR_FLAGS(QGraphicsScene::SceneLayers)
QT_END_NAMESPACE
Q_DECLARE_METATYPE(QGraphicsScene *)
QT_END_HEADER
#endif