QColor: mark as movable (except for QList)
Unbelievable that this has survived for so long... Change-Id: Icff6ecc56de773fa6054d5b96e421299a48bdbde Reviewed-by: Lars Knoll <lars.knoll@qt.io> Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
This commit is contained in:
parent
6f275a4beb
commit
4101ecdb0e
@ -264,6 +264,7 @@ private:
|
|||||||
friend Q_GUI_EXPORT QDataStream &operator>>(QDataStream &, QColor &);
|
friend Q_GUI_EXPORT QDataStream &operator>>(QDataStream &, QColor &);
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
Q_DECLARE_TYPEINFO(QColor, QT_VERSION >= QT_VERSION_CHECK(6,0,0) ? Q_MOVABLE_TYPE : Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
inline QColor::QColor() Q_DECL_NOTHROW
|
inline QColor::QColor() Q_DECL_NOTHROW
|
||||||
{ invalidate(); }
|
{ invalidate(); }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user