diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2015-04-25 22:42:55 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2015-04-27 07:30:18 +0000 |
commit | 57a010adf41c163ff1aa66ad35d28e6f265ee7e0 (patch) | |
tree | 9d013ca2a4eb5a52515c22d147692a709c163e68 | |
parent | 479e84dcbd0d7f1333105c495d7931f1bef3e63b (diff) |
Mark QRGba64 as Q_PRIMITIVE_TYPE
Change-Id: I1ab25a7b880b47f616ae152400c1e2116688ec4c
Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
-rw-r--r-- | src/gui/painting/qrgba64.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/painting/qrgba64.h b/src/gui/painting/qrgba64.h index 5316e32c57..290501047d 100644 --- a/src/gui/painting/qrgba64.h +++ b/src/gui/painting/qrgba64.h @@ -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); |