Mark QRGba64 as Q_PRIMITIVE_TYPE

Change-Id: I1ab25a7b880b47f616ae152400c1e2116688ec4c
Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
bb10
Marc Mutz 2015-04-25 22:42:55 +02:00
parent 479e84dcbd
commit 57a010adf4
1 changed files with 2 additions and 0 deletions

View File

@ -169,6 +169,8 @@ private:
}
};
Q_DECLARE_TYPEINFO(QRgba64, Q_PRIMITIVE_TYPE);
Q_DECL_RELAXED_CONSTEXPR inline QRgba64 qRgba64(quint16 r, quint16 g, quint16 b, quint16 a)
{
return QRgba64::fromRgba64(r, g, b, a);