QSizePolicy: mark as relocatable type
Use Q_RELOCATABLE_TYPE now that we have it. Change-Id: I04bb946695ebb9f0899bb73becbef301805389ef Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
This commit is contained in:
parent
9d82b1586d
commit
3fdbba7a7a
@ -216,6 +216,8 @@ private:
|
||||
#if QT_VERSION >= QT_VERSION_CHECK(6,0,0)
|
||||
// Can't add in Qt 5, as QList<QSizePolicy> would be BiC:
|
||||
Q_DECLARE_TYPEINFO(QSizePolicy, Q_PRIMITIVE_TYPE);
|
||||
#else
|
||||
Q_DECLARE_TYPEINFO(QSizePolicy, Q_RELOCATABLE_TYPE);
|
||||
#endif
|
||||
|
||||
Q_DECLARE_OPERATORS_FOR_FLAGS(QSizePolicy::ControlTypes)
|
||||
|
Loading…
Reference in New Issue
Block a user