From fe01a3bea62a84c9aeb09575c9d135a478e6f24a Mon Sep 17 00:00:00 2001 From: Marc Mutz Date: Sat, 2 Aug 2014 23:42:00 +0200 Subject: [PATCH] QPixelFormat: make data fields private instead of protected The convenience subclasses use the QPixelFormat ctor, not the data fields directly. Change-Id: I011299837cfb3b7006bc8425848989e5739b6082 Reviewed-by: Laszlo Agocs --- src/gui/kernel/qpixelformat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/kernel/qpixelformat.h b/src/gui/kernel/qpixelformat.h index 0e5df679f8..87b40577d1 100644 --- a/src/gui/kernel/qpixelformat.h +++ b/src/gui/kernel/qpixelformat.h @@ -162,7 +162,7 @@ public: Q_DECL_CONSTEXPR inline YUVLayout yuvLayout() const Q_DECL_NOTHROW { return YUVLayout(sub_enum); } Q_DECL_CONSTEXPR inline uchar subEnum() const Q_DECL_NOTHROW { return sub_enum; } -protected: +private: quint64 model : 4; quint64 first : 6; quint64 second : 6;