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:
parent
298f8b67ab
commit
7d2ab7f01d
@ -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
|
||||
|
||||
|
@ -324,6 +324,8 @@ Q_DECLARE_OPERATORS_FOR_FLAGS(QGraphicsScene::SceneLayers)
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
Q_DECLARE_METATYPE(QGraphicsScene *)
|
||||
|
||||
QT_END_HEADER
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user